Forum Discussion
Embedding PowerBI in PowerApp portals
What we are trying to do is:
- Show a PowerBI report on our Power Portal (client are only allowed to see own data )
- We use “Embed for your Customers”
- After Sync Configuration we get “Powerbi: a configuration error occurred while rendering your report”
- It works if the report shows data from models from same Workspace
- It does not work when models are located in a separate workspace
We have followed this article carefully:
Any pointers on how to troubleshoot?
Hi segato ,
When we use embedded for customers, we need to grant workspace access to service principal or master user. If you just give workspace2 access to the service principal, it will not have access to dataset in workspace1. You should also confirm you're a member of that workspace1. Please try to add the service principal to workspace1: https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers?tabs=net-core#step-7---enable-workspace-access
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai
1 Reply
- v-deddai1-msft
Community Support
Hi segato ,
When we use embedded for customers, we need to grant workspace access to service principal or master user. If you just give workspace2 access to the service principal, it will not have access to dataset in workspace1. You should also confirm you're a member of that workspace1. Please try to add the service principal to workspace1: https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-customers?tabs=net-core#step-7---enable-workspace-access
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Best Regards,
Dedmon Dai