| document type | cmdlet |
|---|---|
| external help file | FabricTools-Help.xml |
| HelpUri | |
| Locale | en-US |
| Module Name | FabricTools |
| ms.date | 04/01/2026 |
| PlatyPS schema version | 2024-05-01 |
| title | Add-FabricWorkspaceIdentity |
Provisions an identity for a Fabric workspace.
Add-FabricWorkspaceIdentity [-WorkspaceId] <guid> [<CommonParameters>]
The Add-FabricWorkspaceIdentity function provisions an identity for a specified workspace by making an API call.
Provisions a Managed Identity for the workspace with ID "workspace123".
Add-FabricWorkspaceIdentity -WorkspaceId "workspace123"The unique identifier of the workspace for which the identity will be provisioned.
Type: System.Guid
DefaultValue: ''
SupportsWildcards: false
Aliases:
- Id
ParameterSets:
- Name: (All)
Position: 0
IsRequired: true
ValueFromPipeline: false
ValueFromPipelineByPropertyName: false
ValueFromRemainingArguments: false
DontShow: false
AcceptedValues: []
HelpMessage: ''This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
- Requires
$FabricConfigglobal configuration, includingBaseUrlandFabricHeaders. - Calls
Confirm-TokenStateto ensure token validity before making the API request.
Author: Tiago Balabuch
{{ Fill in the related links here }}