Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.
Hi,
Am trying to create a PowerBI workspace using a python script.
I have created an app registration in Azure and it has API permissions - Workspace.ReadWrite.All
I have also enabled Workspace creation in PowerBI Admin portal.
However, when I use this App registration(TenantID, ClientID, and ClientSecret) to authenticate and create workspace, it errors out.
The error is (Authentication token is getting generated but workspace creation fails)
Failed to create workspace. Status code: 403
Error message: b'{"error":{"code":"InvalidRequest","message":"WorkspaceV2 creation is disabled on tenant level"}}'
Am I missing any other step or permission ? Any help on this is highly appreciated !
Thanks in advance.
Solved! Go to Solution.
Hi @Shree007 ,
According to the error message, you need to contact your administrator to make sure that your account has permission to create workspaces and that the “Create workspace” option is turned on.
Refer to:
Workspace admin settings - Microsoft Fabric | Microsoft Learn
What is the Microsoft Fabric admin portal? - Microsoft Fabric | Microsoft Learn
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Shree007 ,
According to the error message, you need to contact your administrator to make sure that your account has permission to create workspaces and that the “Create workspace” option is turned on.
Refer to:
Workspace admin settings - Microsoft Fabric | Microsoft Learn
What is the Microsoft Fabric admin portal? - Microsoft Fabric | Microsoft Learn
Best Regards,
Liu Yang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
9 | |
6 | |
2 | |
2 | |
2 |
User | Count |
---|---|
4 | |
4 | |
4 | |
4 | |
4 |