Remove-FabricWorkspaceIdentity
Deprovisions the Managed Identity for a specified Fabric workspace.
Syntax
Remove-FabricWorkspaceIdentity [-WorkspaceId] <guid> [-WhatIf] [-Confirm] [<CommonParameters>]Description
The Remove-FabricWorkspaceCapacity function deprovisions the Managed Identity from the given workspace by calling the appropriate API endpoint.
Examples
Example 1
Deprovisions the Managed Identity for the workspace with ID "workspace123".
Remove-FabricWorkspaceCapacity -WorkspaceId "workspace123"Parameters
| Name | Type | Req. | Pos. | Pipeline | Description |
|---|---|---|---|---|---|
| -WorkspaceIdalias: Id | guid | ✓Required | 0 | – | The unique identifier of the workspace from which the identity will be removed. |
| -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-TokenStateto ensure token validity before making the API request.
Author: Tiago Balabuch, Kamil Nowinski