Get-FabricDeploymentPipelineStage
Retrieves details of deployment pipeline stages.
Syntax
Get-FabricDeploymentPipelineStage [-DeploymentPipelineId] <guid> [[-StageId] <string>]
[<CommonParameters>]Description
The Get-FabricDeploymentPipelineStage function fetches information about stages in a deployment pipeline. When a StageId is provided, it returns details for that specific stage. When no StageId is provided, it returns a list of all stages in the pipeline.
Examples
Example 1
Retrieves details of a specific deployment pipeline stage, including its workspace assignment and settings.
Get-FabricDeploymentPipelineStage -DeploymentPipelineId "GUID-GUID-GUID-GUID" -StageId "GUID-GUID-GUID-GUID"Example 2
Retrieves a list of all stages in the specified deployment pipeline.
Get-FabricDeploymentPipelineStage -DeploymentPipelineId "GUID-GUID-GUID-GUID"Parameters
| Name | Type | Req. | Pos. | Pipeline | Description |
|---|---|---|---|---|---|
| -DeploymentPipelineId | guid | ✓Required | 0 | – | Required. The ID of the deployment pipeline. |
| -StageId | string | 1 | – | Optional. The ID of the specific stage to retrieve. If not provided, returns all stages in the pipeline. |
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. - Returns detailed stage information including:
- Stage ID and display name
- Description
- Order in the pipeline
- Workspace assignment (if any)
- Public/private visibility setting
- Requires Pipeline.Read.All or Pipeline.ReadWrite.All delegated scopes.
Author: Kamil Nowinski