Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
inkfleur
New Member

workspace creation disabled on tenant level

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"}}'

I checked with my administrator and my account was added to the security group which has permission to create workspaces and the “Create workspace” option is turned on.

 

Is there anything else that needs to be done?

 

Thanks in advance.

1 ACCEPTED SOLUTION

Hmm, you are right, the documentation says that Workspace.ReadWrite.All is allegedly sufficient.

 

If you have a Pro license you can open a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi
Otherwise you can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues .

View solution in original post

5 REPLIES 5
v-sgandrathi
Community Support
Community Support

Hi @inkfleur,

 

Thankyou @lbendlin for your prompt response.


I wanted to check if you had the opportunity to review the information provided by community member. Please feel free to contact us if you have any further questions. If the response has addressed your query or if you agree with the reply, please accept it as a solution and give a 'Kudos' so other members can easily find it.


Thank you.

Hi @inkfleur,

 

I wanted to follow up on our previous suggestions regarding the issue. We would love to hear back from you to ensure we can assist you further.

If our response has addressed your query, please accept it as a solution and give a ‘Kudos’ so other members can easily find it. Please let us know if there’s anything else we can do to help.

 

Thank you.

 

inkfleur
New Member

Do you know which relevant scope is needed in that case please?

the official source doesn't mention the need of a different scope when creating a workspace : Groups - Create Group - REST API (Power BI Power BI REST APIs) | Microsoft Learn

 

Hmm, you are right, the documentation says that Workspace.ReadWrite.All is allegedly sufficient.

 

If you have a Pro license you can open a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi
Otherwise you can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues .

lbendlin
Super User
Super User

Workspace.ReadWrite.All only allows you to manipulate the artifacts inside a workspace. To create a workspace you need a better scope.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors