FabricTools v0.33.0 Public Preview

Add-FabricWorkspaceIdentity

Provisions an identity for a Fabric workspace.

Syntax

Add-FabricWorkspaceIdentity [-WorkspaceId] <guid> [<CommonParameters>]

Description

The Add-FabricWorkspaceIdentity function provisions an identity for a specified workspace by making an API call.

Examples

Example 1

Provisions a Managed Identity for the workspace with ID "workspace123".

Add-FabricWorkspaceIdentity -WorkspaceId "workspace123"

Parameters

NameTypeReq.Pos.PipelineDescription
-WorkspaceIdalias: Id guid ✓Required 0 –

The unique identifier of the workspace for which the identity will be provisioned.

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.

Author: Tiago Balabuch, Kamil Nowinski