Managed Identity Examples¶
This page demonstrates how to manage workspace-scoped managed identities in Microsoft Fabric using the CLI. Managed identities provide secure authentication for Fabric workspaces when accessing external Azure resources.
Resource Type
Type: .ManagedIdentity
To explore all managed identity commands and their parameters, run:
Navigation¶
Navigate to the managed identities collection within a workspace:
Navigate to a specific managed identity using relative path:
Managed Identity Management¶
Create Managed Identity¶
Info
- Only one managed identity per workspace is allowed
- The managed identity name will be automatically set to the workspace name
- Any provided name in the command is ignored
- Attempting to create multiple identities triggers a
WorkspaceIdentityAlreadyExists
error
Create a managed identity for the workspace to enable secure access to Azure resources.
Check Managed Identity Existence¶
Check if a managed identity exists for the workspace.
List Managed Identities¶
List All Managed Identities¶
Display all managed identities in the workspace in simple format.
List Managed Identities with Details¶
Show managed identities with detailed information including configuration and status.
Remove Managed Identity¶
Remove Managed Identity with Confirmation¶
Delete the workspace managed identity with interactive confirmation.
Force Remove Managed Identity¶
Delete the workspace managed identity without confirmation prompts.