Domain Examples¶
This page demonstrates how to manage domains in Microsoft Fabric using the CLI. Domains provide hierarchical organization and governance capabilities for workspaces and data assets within your Fabric tenant.
Resource Type
Type: .Domain
To explore all domain commands and their parameters, run:
Contributors Scope Options:
Scope | Description | Use Case |
---|---|---|
AdminsOnly |
Only domain admins can contribute | Restricted, governance-focused domains |
AllTenant |
All tenant users can contribute | Open collaboration domains |
SpecificUsersAndGroups |
Selected users/groups only | Controlled access domains |
Navigation¶
Navigate to the domains collection using absolute path:
Navigate to a specific domain using relative path:
Domain Management¶
A domain can only have a parent if that parent domain has no parent itself. This creates a maximum two-level hierarchy
Create Domain¶
Create a domain¶
Create a domain with a parent domain for hierarchical organization¶
fab create .domains/sales-americas.Domain -P parentDomainName=sales,description="Sales domain for Americas region"
Create a child domain using full domain reference¶
Check if a specific domain exists and is accessible¶
Get Domain¶
Get Domain Details¶
Get Domain using query and export properties to a local directory¶
List Domains¶
Display existing domains in a simple format.¶
Show domains with detailed information.¶
Update Domain¶
Domain property updates require Fabric admin role
Supported Properties:
contributorsScope
: Who can contribute to the domaindescription
: Domain descriptiondisplayName
: Domain display name