Get-FabricEnvironmentStagingLibrary
Retrieves the staging library details for a specific environment in a Microsoft Fabric workspace.
Syntax
Get-FabricEnvironmentStagingLibrary [-WorkspaceId] <guid> [-EnvironmentId] <guid>
[<CommonParameters>]Description
The Get-FabricEnvironmentStagingLibrary function interacts with the Microsoft Fabric API to fetch information about staging libraries associated with a specified environment. It ensures token validity and handles API errors gracefully.
Examples
Example 1
Retrieves the staging libraries for the specified environment in the given workspace.
Get-FabricEnvironmentStagingLibrary -WorkspaceId "workspace-12345" -EnvironmentId "environment-67890"Parameters
| Name | Type | Req. | Pos. | Pipeline | Description |
|---|---|---|---|---|---|
| -EnvironmentId | guid | ✓Required | 1 | – | The unique identifier of the environment for which staging library details are being retrieved. |
| -WorkspaceId | guid | ✓Required | 0 | – | The unique identifier of the workspace containing the target environment. |
This cmdlet also supports the common parameters, such as -Verbose and -ErrorAction. See about_CommonParameters.
Notes
- Uses
Confirm-TokenStateto validate the token before making API calls.
Author: Tiago Balabuch, Kamil Nowinski