Skip to content
Maua.Culturewire

Microsoft Azure

Subscriptions, resources, virtual machines, costs and Defender

Developer toolsCatalog2 tools · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • Client ID and secret

    Your users enter

    • Directory (tenant) IDRequiredIdentifier
    • Application (client) IDRequired
    • Client secret valueSecretRequired

    Where to find them

    1. In portal.azure.com → “Microsoft Entra ID” → “App registrations” → “New registration”: give it a name (e.g. culturewire), leave “Accounts in this organizational directory only” and click “Register”.
    2. Copy the “Application (client) ID” and the “Directory (tenant) ID”.
    3. Under “Certificates & secrets” → “New client secret”, choose the expiration and copy the “Value”: it is shown only once.
    4. On each subscription (or on a management group, to cover all those under it) → “Access control (IAM)” → “Add role assignment”, choose “Reader” and, under “Members”, select the application by its name. The “Reader” role is enough to query resources, costs and Defender for Cloud; making changes requires “Contributor”, preferably only on the resource groups needed.

    Get credentials (opens in a new tab)

  • OAuth 2.0

    PKCEYour OAuth app

    Bring your own OAuth app: register one with Microsoft Azure, then create a custom auth config with its client ID and secret and our redirect URI. Setup guide

    Registering the OAuth app

    1. In the Microsoft Entra admin center open “App registrations” → “New registration” and register a “Web” application.
    2. Under “Authentication” add the redirect URI shown below.
    3. Under “Certificates & secrets” create a client secret and copy its value, together with the application (client) ID.
    4. Under “API permissions” add the delegated permissions listed in the scopes.
    5. Depending on your tenant's policy, some permissions may need an administrator to grant consent. Set the tenant to your directory (tenant) ID for a single-tenant app, or keep “organizations” for work and school accounts of any tenant. These steps are only needed for your own OAuth app: when this deployment has a managed Microsoft app, Continue connects without them.

    Default scopes

    • https://management.azure.com/user_impersonation
    • offline_access

Tools (2)

  • Microsoft Azure API requestAZURE_SEND_REQUEST

    Authenticated call to the Microsoft Azure API (https://management.azure.com). Any endpoint of the API is allowed. Every call takes an api-version (specific to each resource provider). Examples: GET /subscriptions?api-version=2022-12-01, GET /subscriptions/{id}/resourcegroups?api-version=2021-04-01, GET /subscriptions/{id}/resources?api-version=2021-04-01&$filter=resourceType eq 'Microsoft.Compute/virtualMachines', GET /subscriptions/{id}/providers/Microsoft.Compute/virtualMachines?api-version=2024-07-01&statusOnly=true, POST /subscriptions/{id}/resourceGroups/{group}/providers/Microsoft.Compute/virtualMachines/{vm}/restart?api-version=2024-07-01, POST /subscriptions/{id}/providers/Microsoft.CostManagement/query?api-version=2023-11-01 {"type": "ActualCost", "timeframe": "MonthToDate", "dataset": {"granularity": "None", "aggregation": {"total": {"name": "PreTaxCost", "function": "Sum"}}, "grouping": [{"type": "Dimension", "name": "ServiceName"}]}}, GET /subscriptions/{id}/providers/Microsoft.Security/alerts?ap…

    Required scopes

    No scopes required

    Input

    Microsoft Azure API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.
  • Resource Graph query (KQL)AZURE_QUERY_RESOURCE_GRAPH

    Inventory and configuration of the resources in all accessible subscriptions using an Azure Resource Graph KQL query (tables resources, resourcecontainers, securityresources, advisorresources…). Returns the rows, the total and the next page token.

    Required scopes

    No scopes required

    Input

    Resource Graph query (KQL) input
    NameTypeDescription
    kqlrequiredstringKQL, e.g. resources | where type =~ 'microsoft.compute/virtualmachines' | project name, location, resourceGroup, subscriptionId
    subscriptionsstring[]Subscription IDs (empty: all accessible ones)
    maxintegerDefault: 100
    pagestringNext page token (the “next” field of the previous response)