FabricTools v0.33.0 Public Preview

Remove-FabricDeploymentPipeline

Deletes a specified deployment pipeline.

Syntax

Remove-FabricDeploymentPipeline [-DeploymentPipelineId] <guid> [-WhatIf] [-Confirm]
 [<CommonParameters>]

Description

The Remove-FabricDeploymentPipeline function deletes a deployment pipeline by its ID. This operation requires admin deployment pipelines role and will fail if there's an active deployment operation.

Examples

Example 1

Deletes the specified deployment pipeline.

Remove-FabricDeploymentPipeline -DeploymentPipelineId "GUID-GUID-GUID-GUID"

Parameters

NameTypeReq.Pos.PipelineDescription
-DeploymentPipelineId guid ✓Required 0 –

Required. The ID of the deployment pipeline to delete.

-Confirmalias: cf switch Named –

Prompts you for confirmation before running the cmdlet.

-WhatIfalias: wi switch Named –

Runs the command in a mode that only reports what would happen without performing the actions.

This cmdlet also supports the common parameters, such as -Verbose and -ErrorAction. See about_CommonParameters.

Notes

  • Calls Confirm-TokenState to ensure token validity before making the API request.
  • Requires Pipeline.ReadWrite.All delegated scope.
  • Requires admin deployment pipelines role.
  • Operation will fail if there's an active deployment operation.

Author: Kamil Nowinski