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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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
Resolver III
Resolver III

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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.