Get-FabricReport
Retrieves Report details from a specified Microsoft Fabric workspace.
Syntax
Get-FabricReport [-WorkspaceId] <guid> [[-ReportId] <guid>] [[-ReportName] <string>]
[<CommonParameters>]Description
This function retrieves Report details from a specified workspace using either the provided ReportId or ReportName. It handles token validation, constructs the API URL, makes the API request, and processes the response.
Examples
Example 1
This example retrieves the Report details for the Report with ID "Report-67890" in the workspace with ID "workspace-12345".
Get-FabricReport -WorkspaceId "workspace-12345" -ReportId "Report-67890"Example 2
This example retrieves the Report details for the Report named "My Report" in the workspace with ID "workspace-12345".
Get-FabricReport -WorkspaceId "workspace-12345" -ReportName "My Report"Parameters
| Name | Type | Req. | Pos. | Pipeline | Description |
|---|---|---|---|---|---|
| -WorkspaceId | guid | ✓Required | 0 | – | The unique identifier of the workspace where the Report exists. This parameter is mandatory. |
| -ReportId | guid | 1 | – | The unique identifier of the Report to retrieve. This parameter is optional. |
|
| -ReportName | string | 2 | – | The name of the Report to retrieve. This parameter is optional. |
This cmdlet also supports the common parameters, such as -Verbose and -ErrorAction. See about_CommonParameters.
Notes
- Calls
Confirm-TokenStateto ensure token validity before making the API request.
Author: Tiago Balabuch, Kamil Nowinski