Get-FabricDashboard
Retrieves dashboards from a specified workspace.
Syntax
Get-FabricDashboard [-WorkspaceId] <guid> [<CommonParameters>]Description
This function retrieves all dashboards from a specified workspace using the provided WorkspaceId. It handles token validation, constructs the API URL, makes the API request, and processes the response.
Examples
Example 1
This example retrieves all dashboards from the workspace with ID "12345".
Get-FabricDashboard -WorkspaceId "12345"Parameters
| Name | Type | Req. | Pos. | Pipeline | Description |
|---|---|---|---|---|---|
| -WorkspaceId | guid | ✓Required | 0 | – | The ID of the workspace from which to retrieve dashboards. This parameter is mandatory. |
This cmdlet also supports the common parameters, such as -Verbose and -ErrorAction. See about_CommonParameters.
Notes
- Requires
$FabricConfigglobal configuration, includingBaseUrlandFabricHeaders. - Calls
Confirm-TokenStateto ensure token validity before making the API request.
Author: Tiago Balabuch