Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions docs-mslearn/toolkit/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ The following section lists features and enhancements that are currently in deve

### Documentation improvements

- **Added**
- Added detailed mitigation guidance for [Azure Resource Graph payload size limit errors](help/errors.md#response-payload-size-is-and-has-exceeded-the-limit) with step-by-step instructions for filtering by subscription, tags, and removing columns.
- Added "Known limitations" section to [Governance report](power-bi/governance.md) and [Workload optimization report](power-bi/workload-optimization.md) documentation explaining Azure Resource Graph payload limits and when to use filtering.


### [Power BI reports](power-bi/reports.md) v13

Expand Down
57 changes: 54 additions & 3 deletions docs-mslearn/toolkit/help/errors.md
Original file line number Diff line number Diff line change
Expand Up @@ -507,9 +507,60 @@ This error means that you have more resources than are supported in an unfiltere

**Mitigation**: If you experience this error, there are several options:

- Remove columns that are not necessary for your needs.
- Filter the query to return fewer resources based on what's most important for you (e.g., subscriptions, tags).
- Disable the query so it doesn't block other queries from running.
### Option 1: Filter by subscription

Modify the Azure Resource Graph queries to filter by specific subscriptions:

1. Open Power BI Desktop and select **Transform data** from the ribbon.
2. In the **Queries** pane on the left, expand the **Resource Graph** folder.
3. Select the query that's failing (e.g., **NetworkSecurityGroups**, **Resources**).
4. In the query editor, find the `query = "` section in the formula bar.
5. Add a filter clause to the query. For example, to filter by subscription:

```kusto
| where subscriptionId in~ ('subscription-id-1', 'subscription-id-2')
```

Add this line after the `resources` line and before any `| extend` clauses.

6. Select **Close & Apply** to save changes.

### Option 2: Filter by tags

If your resources use tags to organize by environment, cost center, or other criteria, you can filter by tags:

1. Follow steps 1-4 from Option 1.
2. Add a tag filter to the query:

```kusto
| where tags.Environment in~ ('Production', 'Staging')
```

Or filter by multiple tag conditions:

```kusto
| where tags.CostCenter == '12345' and tags.Environment =~ 'Production'
```

### Option 3: Remove unnecessary columns

Reduce the payload size by removing columns you don't need:

1. Open the query in Power Query Editor (steps 1-3 from Option 1).
2. In the query text, remove column names from the `extend` or `project` statements that you don't need for your analysis.
3. Be careful not to remove columns that are used in report visuals or relationships.

### Option 4: Disable problematic queries

If a specific query consistently fails and isn't critical to your needs:

1. In Power Query Editor, right-click the failing query in the **Queries** pane.
2. Uncheck **Enable load** to prevent the query from loading data.
3. The query will remain in the report but won't execute during refresh.

For more information about Azure Resource Graph limits and pagination, see:
- [Working with large Azure resource data sets](/azure/governance/resource-graph/concepts/work-with-data)
- [Troubleshoot errors using Azure Resource Graph](/azure/governance/resource-graph/troubleshoot/general)

<br>

Expand Down
12 changes: 12 additions & 0 deletions docs-mslearn/toolkit/power-bi/governance.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,18 @@ This report pulls data from:

The Governance report is new and still being fleshed out. We will continue to expand capabilities in each release in alignment with the [Cost optimization workbook](../workbooks/optimization.md). To request additional capabilities, please [create a feature request](https://aka.ms/ftk/ideas) in GitHub.

## Known limitations

The Governance report uses Azure Resource Graph to query resource details. Azure Resource Graph has a response payload limit of 16 MB per query. The report is designed for small- and medium-sized environments and may not work for organizations with millions of resources.

If you experience a "Response payload size... exceeded the limit" error, try the following:

- **Filter by subscription or tags** – Update queries in Power Query Editor to filter resources by specific subscriptions or tags that are most important for your governance reporting.
- **Remove unnecessary columns** – Edit queries to remove columns that aren't needed for your analysis to reduce the payload size.
- **Disable problematic queries** – If a specific query consistently fails, you can disable it in Power Query Editor to allow other queries to load successfully.

For detailed troubleshooting steps, see [Response payload size exceeded the limit](../help/errors.md#response-payload-size-is-and-has-exceeded-the-limit) in the error reference guide.

> [!div class="nextstepaction"]
> [Download for KQL](https://github.com/microsoft/finops-toolkit/releases/latest/download/PowerBI-kql.zip)
> [!div class="nextstepaction"]
Expand Down
12 changes: 12 additions & 0 deletions docs-mslearn/toolkit/power-bi/workload-optimization.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,18 @@ This report pulls data from:

The Workload optimization report is new and still in development. We will continue to expand capabilities in each release in alignment with the [Cost optimization workbook](../workbooks/optimization.md). To request other capabilities, [create a feature request](https://aka.ms/ftk/ideas) in GitHub.

## Known limitations

The Workload optimization report uses Azure Resource Graph to query resource details. Azure Resource Graph has a response payload limit of 16 MB per query. The report is designed for small- and medium-sized environments and may not work for organizations with millions of resources.

If you experience a "Response payload size... exceeded the limit" error, try the following:

- **Filter by subscription or tags** – Update queries in Power Query Editor to filter resources by specific subscriptions or tags that are most important for your workload optimization.
- **Remove unnecessary columns** – Edit queries to remove columns that aren't needed for your analysis to reduce the payload size.
- **Disable problematic queries** – If a specific query consistently fails, you can disable it in Power Query Editor to allow other queries to load successfully.

For detailed troubleshooting steps, see [Response payload size exceeded the limit](../help/errors.md#response-payload-size-is-and-has-exceeded-the-limit) in the error reference guide.

> [!div class="nextstepaction"]
> [Download for KQL](https://github.com/microsoft/finops-toolkit/releases/latest/download/PowerBI-kql.zip)
> [!div class="nextstepaction"]
Expand Down