Get-FabricDeploymentPipelineStageItem
Retrieves the supported items from the workspace assigned to a specific stage of a deployment pipeline.
Syntax
Get-FabricDeploymentPipelineStageItem [-DeploymentPipelineId] <guid> [-StageId] <guid>
[<CommonParameters>]Description
The Get-FabricDeploymentPipelineStageItem function returns a list of supported items from the workspace assigned to the specified stage of a deployment pipeline. The function automatically handles pagination and returns all available items.
Examples
Example 1
Retrieves all items from the specified stage of the deployment pipeline.
Get-FabricDeploymentPipelineStageItem -DeploymentPipelineId "GUID-GUID-GUID-GUID" -StageId "GUID-GUID-GUID-GUID"Parameters
| Name | Type | Req. | Pos. | Pipeline | Description |
|---|---|---|---|---|---|
| -DeploymentPipelineId | guid | ✓Required | 0 | – | Required. The ID of the deployment pipeline. |
| -StageId | guid | ✓Required | 1 | – | Required. The ID of the stage to retrieve items from. |
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. - Requires Pipeline.Read.All or Pipeline.ReadWrite.All delegated scope.
- Requires admin deployment pipelines role.
- The user must be at least a workspace contributor assigned to the specified stage.
- Returns items with their metadata including:
- Item ID and display name
- Item type (Report, Dashboard, SemanticModel, etc.)
- Source and target item IDs (if applicable)
- Last deployment time (if applicable)
Author: Kamil Nowinski