Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
Hi we use Fabric Rest API for a tool creating Backup and MCP around Power BI items.
We need to use a service principal as we are in a backend task, but surprisingly we are not able to scan the personal workspaces.
We have been told that is by design by Microsoft??? So there is no API ( and no other manual way) for any kind of supervisor to know what happens in the user personal workspaces!!!
For example a user can make a collection of critical reports and export them with data this is authorised but to let a supervisor see what he do not?
For my customer it's a major issue and a compliance problem (he cannot backup personal workspaces)
any other people concerned by such issue?
we are looking for help to make thinks changes. Microsoft support after long exchanges,just responded that it's a out of scope of their influence ...
thanks for your feedback in the comments I will send directly to MS so be diligent
Jean-Philippe
Solved! Go to Solution.
Hi @jp_golay , There are APIs available in the Power BI Rest API Documentation to extract artifacts metadata from personal workspaces as well. You would have to use the below four APIs hand in hand to achieve that.
Rest API Documentation: https://learn.microsoft.com/en-us/rest/api/power-bi/admin
Please note that the below APIs require admin access to the Service principal. Make sure service principal can access Admin APIs by configuring the Admin portal settings.
Thanks,
Jai
Proud to be a Super User! | |
Hey @jp_golay ,
In Microsoft Fabric and Power BI, service principals cannot access personal (“My workspace”) workspaces by default, and this is largely by design for privacy and compliance reasons. Standard Fabric REST APIs will not return personal workspaces when called by a normal service principal. However, governance access is possible through the Power BI Admin REST APIs, not the regular APIs.
If the service principal is added to a security group that has Power BI Service Admin or Fabric Admin rights, and tenant settings allow service principals to use Power BI APIs, then the Admin workspace scan endpoints (with the includePersonalWorkspaces flag enabled) can retrieve metadata for personal workspaces. For compliance and monitoring, organizations can also use Microsoft 365 audit logs and optionally Microsoft Purview. There is no supported way for a non-admin service principal to fully enumerate personal workspaces, so the practical solution is to use an admin-level service principal combined with Admin APIs and audit logging.
Hey @jp_golay ,
This is a confirmed by-design limitation. Microsoft explicitly states "My Workspace isn't supported when using service principal." However, the situation is not completely hopeless. Here are some workarounds available:
Workaround-1: Admin APIs DO Return Personal Workspace Metadata (via Service Principal)
Even though you can't access content via service principal, you can discover and scan personal workspaces:
Workaround-2: Delegated Admin Token for Full Content Backup
For actual content backup (export .pbix, definitions, etc.), replace the service principal with a Fabric Admin delegated user account:
Workaround-3: Prevent the Problem with Governance Policies
For Detailed Information:
Admin API — GetGroupsAsAdmin (List All Workspaces Including Personal)
Manage Workspaces — Fabric Admin Portal (Get Access to Personal Workspaces)
Best Regards,
Nasif Azam
Hi @jp_golay
May I check if this issue has been resolved? If not, Please feel free to contact us if you have any further questions.
Thank you
Hi @jp_golay
I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions.
Thank you.
Hi @jp_golay
My solution would be why don't you use the scanner API which will. Then give you all the information about my workspaces for personal users and when using the scanner API you can run this using a service principle account.
Hey @jp_golay ,
This is a confirmed by-design limitation. Microsoft explicitly states "My Workspace isn't supported when using service principal." However, the situation is not completely hopeless. Here are some workarounds available:
Workaround-1: Admin APIs DO Return Personal Workspace Metadata (via Service Principal)
Even though you can't access content via service principal, you can discover and scan personal workspaces:
Workaround-2: Delegated Admin Token for Full Content Backup
For actual content backup (export .pbix, definitions, etc.), replace the service principal with a Fabric Admin delegated user account:
Workaround-3: Prevent the Problem with Governance Policies
For Detailed Information:
Admin API — GetGroupsAsAdmin (List All Workspaces Including Personal)
Manage Workspaces — Fabric Admin Portal (Get Access to Personal Workspaces)
Best Regards,
Nasif Azam
Hello @jp_golay,
Service principals cannot access personal workspaces (“My Workspace”) in Power BI/Fabric; only shared or app workspaces where the SP is explicitly added are accessible via REST API. Personal workspaces remain private by design for user privacy.
Microsoft Docs:
Embed Power BI content with service principal and an application secret
Hey @jp_golay ,
In Microsoft Fabric and Power BI, service principals cannot access personal (“My workspace”) workspaces by default, and this is largely by design for privacy and compliance reasons. Standard Fabric REST APIs will not return personal workspaces when called by a normal service principal. However, governance access is possible through the Power BI Admin REST APIs, not the regular APIs.
If the service principal is added to a security group that has Power BI Service Admin or Fabric Admin rights, and tenant settings allow service principals to use Power BI APIs, then the Admin workspace scan endpoints (with the includePersonalWorkspaces flag enabled) can retrieve metadata for personal workspaces. For compliance and monitoring, organizations can also use Microsoft 365 audit logs and optionally Microsoft Purview. There is no supported way for a non-admin service principal to fully enumerate personal workspaces, so the practical solution is to use an admin-level service principal combined with Admin APIs and audit logging.
Hi @jp_golay , There are APIs available in the Power BI Rest API Documentation to extract artifacts metadata from personal workspaces as well. You would have to use the below four APIs hand in hand to achieve that.
Rest API Documentation: https://learn.microsoft.com/en-us/rest/api/power-bi/admin
Please note that the below APIs require admin access to the Service principal. Make sure service principal can access Admin APIs by configuring the Admin portal settings.
Thanks,
Jai
Proud to be a Super User! | |
Hii @jp_golay
Service principals and REST APIs cannot access or scan personal workspaces (My Workspace) because they are user-owned and isolated for privacy and security. There is no supported API or admin method to back up or monitor personal workspaces. Only shared (group-based) workspaces are accessible via service principal, so critical content must be moved there for compliance and backup.
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 16 | |
| 10 | |
| 10 | |
| 8 | |
| 7 |
| User | Count |
|---|---|
| 40 | |
| 36 | |
| 34 | |
| 28 | |
| 20 |