This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
I am trying to get embed token for power bi using service principle (app owns data), i have followed all the steps in the microsoft blog.
I have attached a screenshot of my workspace as well.
When i try to access the apis am getting PowerBINotAuthorizedException
Please help me.
Solved! Go to Solution.
Hi @ravenmike ,
For reference: Considerations and limitations
As far as I know, we need to create a security group in Azure portal and then add the Service Principal as a member in that group.
Step 3 - Enable the Power BI service admin settings
Enable the Allow service principals to use Power BI APIs switch either for the entire organization or for the specific security group you created in Azure AD.
Step 4 - Add the service principal to your workspace
To enable your Azure AD app to access items such as reports, dashboards and datasets in the Power BI service, add the service principal entity, or the security group that includes your service principal, as a member or admin to your workspace.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @ravenmike ,
For reference: Considerations and limitations
As far as I know, we need to create a security group in Azure portal and then add the Service Principal as a member in that group.
Step 3 - Enable the Power BI service admin settings
Enable the Allow service principals to use Power BI APIs switch either for the entire organization or for the specific security group you created in Azure AD.
Step 4 - Add the service principal to your workspace
To enable your Azure AD app to access items such as reports, dashboards and datasets in the Power BI service, add the service principal entity, or the security group that includes your service principal, as a member or admin to your workspace.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 3 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |