Forum Discussion
Fabric Workspace Creation via Code
- 1 year ago
Workspaces are still a Power BI thing so you need to use the Power BI REST API for now.
Groups - Create Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn
- 1 year ago
You can also use the Terraform provider for Microsoft Fabric to create a workspace and the azurerm provider to create a Fabric capacity in Azure. However, note that the Fabric provider is currently in preview and not recommended for production environments.
Here are the relevant Terraform resources:
Fabric Workspace (Microsoft Fabric provider): Terraform Registry - Microsoft Fabric Workspace
Fabric Capacity (AzureRM provider): Terraform Registry - AzureRM Fabric Capacity
Here are some quickstart resources from Microsoft:
Hi DanialAnwaar ,
Just checking in to see if you query is resolved and if any responses were helpful. If so, kindly consider marking the helpful reply as 'Accepted Solution' to help others with similar queries.
Otherwise, feel free to reach out for further assistance.
Thank you.