Skip to main content

Azure

Integrate Azure with Torq to execute Azure CLI commands in Workflows.

Updated this week

Use the Azure integration to run Azure CLI commands as Steps in Workflows.

Torq enables quick and easy integration with Microsoft Azure, so you can automate anything and everything within moments. Torq's public Azure and Azure Blob Steps include:

  • Run Commands on Azure CLI.

  • Delete File

  • Write File

  • Check if File Exists

  • Read File

If you don't see a Step you need, you can create your own in various ways, such as using the Send an HTTP Request Step or Torq’s Step Builder, and share it across your organization.

Azure AD Steps use the Microsoft 365 Steps integration.

To use Azure Steps in Torq Workflows, look here.

Use Azure Steps in Torq

Step one: Create an application in Azure

  1. Open Microsoft Azure: Navigate to your Azure portal and go to Azure services > Microsoft Entra ID.

  2. Register a new application: Go to Manage > App registrations and click New registration if a relevant app assigned to an Azure resource does not exist.

    1. Enter a unique and meaningful name.

    2. Give the account Accounts in this organization directory only access.

    3. Click Register.

  3. Assign a role to the application: In the application, go to Access control (IAM) and click + Add > Add role assignment.

    1. In the Role tab, select Privileged administrator roles.

    2. Select the relevant role for the application. The Contributor role is recommended.

    3. Click the Members tab and then + Select members.

    4. Search and select the application you created.

    5. Click Select.

    6. Click the Review + assign tab and review the information before clicking Review + assign to finalize the role assignment.

  4. Copy the client and tenant IDs: Go to the application's Overview page and copy both the Application (client) ID and Directory (tenant) ID to save them for later. You will need them to create the integration in Torq.

Step two: Create a client secret in Azure

  1. Open Certificates & secrets: In the application, go to Manage > Certificates & secrets.

  2. Create a client secret: Select the Client secrets tab and click New client secret.

    1. Enter a meaningful description/name.

    2. Select an expiration date according to your organization's best practices.

    3. Click Add.

  3. Copy the secret: Copy the client secret Value to save it for later. You will need it to create the integration in Torq.

Step three: Create an Azure Steps integration in Torq

  1. Navigate to the integration: In Torq, go to Build > Integrations > Steps > Azure and click Add Instance.

  2. Configure the integration:

    1. Enter a meaningful name for the integration.

    2. Paste the tenant ID you copied earlier.

    3. Paste the client ID you copied earlier.

    4. Paste the client secret you generated earlier.

  3. Finalize: Click Add.

Use Microsoft Azure Blob Storage Steps in Torq

To use Blob Storage Steps in Torq Workflows, you must first create an application in Entra ID and an Azure Steps integration in Torq.

  1. Open Microsoft Azure: In your Azure portal, go to Navigate and click Subscriptions, Resource groups, or All resources.

  2. Select a container or service: Select the subscription, resource group, or other resource that should have access to the application with the relevant Blob Storage.

  3. Assign a role: In the subscription, resource group, or resource, go to Access control (IAM) and click + Add > Add role assignment.

    1. In the Role tab, select a relevant role.

    2. Click the Members tab and then + Select Members.

    3. Search and select the enterprise application you created for the Azure Steps integration.

    4. Click Select.

    5. Click the Review + assign tab and review the information before clicking Review + assign to finalize the role assignment.

You can now use Microsoft Azure Blog Storage Steps in Torq Workflows to interact with your Azure Blog Storage accounts.


FAQs


Templates

Now that you've added your integration, check out these specially crafted templates by Torq's security experts. Visit Torq's template library for more.

Did this answer your question?