Power BI is turning 10! Tune in for a special live episode on July 24 with behind-the-scenes stories, product evolution highlights, and a sneak peek at what’s in store for the future.
Save the dateEnhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.
Hi
We are integrating Power BI REST APIs to perform certain usecases (e.g. get all workspaces, managing workspaces and users in a workspace) in our Azure based Power BI. We have created two SPN (Service Principal Name) for accessing production and non-production using the below steps.
Thereafter we have genarated access token using client id, client secret and tenant Id. Also able to fetch all the groups using the access token by using 'GET https://api.powerbi.com/v1.0/myorg/groups/' API.
The problem here is Production SPN should connect to Power BI Premium Instance and the Non-prod one should connect to default space. But when we are fetching using Production and Non-Prod SPN, both are returning same set of workspaces (groups) and those are the workspaces belong to default space.
So is there anything we are missing here? Please help us to resolve this issue.
Thanks in advance,
Abhijit
what do you mean by "default space" ? Shared capacity?
Check out the July 2025 Power BI update to learn about new features.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
User | Count |
---|---|
7 | |
7 | |
3 | |
2 | |
2 |
User | Count |
---|---|
6 | |
5 | |
4 | |
4 | |
4 |