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

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
bharathrs_nest
Frequent Visitor

Use Service principal with Sempy library and Get all the workspaces assigned to it

Hi, 

 

We cannot get access to all workspaces in production, but we need to collate all workspaces and datasets in it. We have tried sempy in fabric notebook, but it uses the token of the person who has logged in / created the pipeline. Is there a way to use Service principal in sempy via fabric notebook? 

1 ACCEPTED SOLUTION

Batch your requests accordingly. Manage/correct expectations. This is a slow process by design.

View solution in original post

3 REPLIES 3
bharathrs_nest
Frequent Visitor

Hi @lbendlin 

 

We have that SPN with tenant.readall permission set in Entra, the admin apis have a limitation of 50 requests per hour and we need to do a scan of more than 400+ workspaces.

Batch your requests accordingly. Manage/correct expectations. This is a slow process by design.

lbendlin
Super User
Super User

you need to be tenant admin/capacity admin, and need to use the admin apis.  Allowing a service principal to do that is an auditing nightmare.

Helpful resources

Announcements
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

AugPowerBI_Carousel

Power BI Monthly Update - August 2024

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

August Carousel

Fabric Community Update - August 2024

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

Top Solution Authors