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

Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now

Reply
Vnuuk
New Member

Create new workspace using Power BI API

Hello All! I'm trying to automate some processes in my company. I'm looking for a way to create a new workspace for specific user in my organization.

 

I found API that allows to do that for current logged user - https://api.powerbi.com/v1.0/myorg/groups. But I need to create workspace for specific users.

 

Is it possible? If so then - how I can achieve that?

5 REPLIES 5
bajee
Kudo Kingpin
Kudo Kingpin

Hi

 

Yes we can create the App Work Spaces using automate process.

 

In our project we had created App WorkSpaces using C# Code.

 

Even we can chage the connection strings through code.

 

Regards,

Bajee.

Hello! What is the project? Could you share code base please or code samples?

Hello,

 

Sorry, I don't have to sample code to share.

 

Our C# developer was writen the code and he was genarated .exe file for front end activities like creating,deleting the App Work Spaces and changing connection strings through code.

 

 

Regards,

Bajee. 

Can you give me this EXE file please so I can disasseble it?

Eric_Zhang
Microsoft Employee
Microsoft Employee


@Vnuuk wrote:

Hello All! I'm trying to automate some processes in my company. I'm looking for a way to create a new workspace for specific user in my organization.

 

I found API that allows to do that for current logged user - https://api.powerbi.com/v1.0/myorg/groups. But I need to create workspace for specific users.

 

Is it possible? If so then - how I can achieve that?


@Vnuuk

I think the standard approach is

  1. Create a target workspace(Add group).
  2. Add user to that group(Add group user).

So in your case, create the workspace and add specific users accordingly.

 

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

February Power BI Update Carousel

Power BI Monthly Update - February 2026

Check out the February 2026 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.