Azure Resource Graph

Summary

Item Description
Release State General Availability
Products Power BI Semantic models (Desktop + Service)
Power BI (Dataflows)
Fabric (Dataflow Gen2)
Authentication Types Supported Organizational Account

Note

Some capabilities might be present in one product but not others due to deployment schedules and host-specific capabilities.

Prerequisites

Tip

If you participated in the private preview, be sure to delete the AzureResourceGraph.mez preview file. Failure to do so might result in your test custom connector being used by Power Query inadvertently instead of the newly certified connector.

Capabilities supported

  • Import
  • Advanced options
    • Scope by subscription(s) and/or management group(s)

Connect to Azure Resource Graph from Power Query Desktop

To connect to Azure Resource Graph from Power Query Desktop:

  1. In Get Data, select Azure or search for Azure Resource Graph, and then select Azure Resource Graph. More information: Where to get data

    Screenshot of the Get Data dialog with the Azure Resource Graph connector emphasized.

  2. In the Azure Resource Graph dialog box, fill in the query and any optional fields, such as Scope.

    Screenshot of the Input Dialog Box with the Azure Resource Graph connector emphasized.

    Note

    You can scope queries to either subscription or management group level, if neither option is chosen the query will execute at the tenant level by default.

  3. If you're connecting to this site for the first time, select Sign in and input your credentials. Then select Connect.

  4. In Navigator, select the tables you require, then either load or transform the data.

Connect to Azure Resource Graph from Power Query Online

To connect to Azure Resource Graph from Power Query Online:

  1. In Choose data source, select Azure or search for Azure Resource Graph, and then select Azure Resource Graph. More information: Where to get data

  2. In Connect to data source, fill in the query and any optional fields, such as Scope.

  3. Sign in to your organizational account.

  4. When you're successfully signed in, select Next.

  5. In Choose data, select the data you require, and then select Transform Data.

Note

Expect longer wait times for large query results.

Connect using advanced options

Power Query provides an advanced option that you can add to your query if needed.

Advanced option Description
Scope Specify whether you want to query at the subscription or management level. If you don't select either subscription or management, the query automatically applies to the tenant level by default.
Subscription Id(s) Specify any specific subscriptions you want to query against. Enter each subscription ID separated by commas. This field is required if you select the subscription scope.
Management Group Id(s) Specify any specific management groups you want to query against. Enter each management group separated by commas. This field is required if you select management group scope.
$resultTruncated If you would like to retrieve more than 1,000 records, set $resultTruncated to FALSE. By default, Azure Resource Graph returns only up to 1,000 records.

For more information about the Azure Resource Graph (ARG) Power BI connector, refer to these resources: