The ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM.
Get registeredCompete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.
Good morning guys,
Which is the difference between granting Power BI API permissions to a service principal in Entra ID
and enable usage of Fabric APIs (I assume that Power BI APIs are also included here) on Power BI Admin Portal (tenant settings)
E.g: Which is the action required to allow a Service Principal to refresh a datamodel using Power BI Rest API? Both?
What happens with the rights on the Workspace. If API rights mention -All-, does this mean access to all datasets on all workspaces or additional rights has to be provided to SP on the corresponding workspace?
Thanks
Solved! Go to Solution.
@alfBI, Sorry for the delayed repsonse here.
To allow a Service Principal (SP) to refresh a dataset using the Power BI REST API, both actions are required:
Regarding workspace access:
Thanks,
Prashanth Are
MS Fabric community support
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query
@alfBI, As we haven’t heard back from you, we wanted to kindly follow up to check if the solution provided for your issue worked? or let us know if you need any further assistance here?
Thanks,
Prashanth Are
MS Fabric community support
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query
No, Dataset.Read.All or Dataset.ReadWrite.All does NOT automatically grant access to all workspaces. It only gives API-level permission to perform actions on datasets where the Service Principal already has access.
Thanks,
Prashanth Are
MS Fabric community support
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query
OK, but then I need to grant the SP a API Permission on entra ID and that´s enough, or we need also to grant SP access to Fabric APIs on Power BI Admin (Tenant settings)? I don't see the difference between these 2 actions
@alfBI, Sorry for the delayed repsonse here.
To allow a Service Principal (SP) to refresh a dataset using the Power BI REST API, both actions are required:
Regarding workspace access:
Thanks,
Prashanth Are
MS Fabric community support
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly and give Kudos if helped you resolve your query