FabricTools v0.33.0 Public Preview

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

NameTypeReq.Pos.PipelineDescription
-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 $FabricConfig global configuration, including BaseUrl and FabricHeaders.
  • Calls Confirm-TokenState to ensure token validity before making the API request.

Author: Tiago Balabuch