Help Center/ Migration Center/ FAQs/ Resource Discovery/ How Do I Export All Azure Resource Details?
Updated on 2026-05-22 GMT+08:00

How Do I Export All Azure Resource Details?

This section describes how to export all Azure resource details.

Prerequisites

Your account has the Owner role. For details about how to gain this role, see Assign Azure roles using the Azure portal.

Exporting All Azure Resource Details

  1. Sign in to the Azure portal.
  2. Search for and select Resource Graph using the search box at the top of the page.
  3. In the query window on the page, click New query to create a query. On the new tab page, enter the following query statement:

    resources

  4. Click Run query.
  5. Click the Results tab to view the query results.
  6. Turn on the Formatted results switch on the right.

  7. Click Download as CSV to export the query results as a CSV to the local PC.