Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers!
Enter the sweepstakes now!Prepping for a Fabric certification exam? Join us for a live prep session with exam experts to learn how to pass the exam. Register now.
Hi,
When using a GET to https://api.fabric.microsoft.com/v1/admin/workspaces/{workspaceId}/users with a valid and existing {workspaceId}, I'm getting a 500 htrtp error :
Solved! Go to Solution.
Hi @baraco ,
After a bit of research, I was able to call this API, here are the steps:
1. First make sure you grant the Azure App Service Principal delegated permissions on Tenant.Read.All and or Tenant.ReadWrite.All.
2. Then refer to the steps in the documentation to create the security group, and then add Service principal to the member of the security group.
Then go to Fabric admin potal, turn on Service principals can access read-only admin APIs, fill in the security group you just created and apply it.
And please enable the Service principals can use Fabric APIs.
3. Finally add the security group to Workspace:
Test api works fine:
I hope this helps!
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi @baraco ,
After a bit of research, I was able to call this API, here are the steps:
1. First make sure you grant the Azure App Service Principal delegated permissions on Tenant.Read.All and or Tenant.ReadWrite.All.
2. Then refer to the steps in the documentation to create the security group, and then add Service principal to the member of the security group.
Then go to Fabric admin potal, turn on Service principals can access read-only admin APIs, fill in the security group you just created and apply it.
And please enable the Service principals can use Fabric APIs.
3. Finally add the security group to Workspace:
Test api works fine:
I hope this helps!
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Hi @baraco ,
I reproduced the same error.
Works fine when using other fabric api's that support service principal authentication.
I can also get the token, which seems to be a problem with this API. Additionally, I tested calling this API using Fabric administrator authentication, which was able to return results, which could be a workaround.
I'll report this to the product group, and I'll follow up here with any news.
Best Regards,
Gao
Community Support Team
If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly.
If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!
How to get your questions answered quickly -- How to provide sample data in the Power BI Forum
Check out the April 2025 Fabric update to learn about new features.
Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.
User | Count |
---|---|
32 | |
19 | |
17 | |
9 | |
7 |
User | Count |
---|---|
38 | |
34 | |
20 | |
14 | |
13 |