Forum Discussion
alteco
4 years agoRegular Visitor
embed power-bi - getting 401 Unauthorized: Error while retrieving Embed URL
Hello, I am trying to use power-bi report in python example app, but I am getting Error Details: 401 Unauthorized: Error while retrieving Embed URL Unauthorized: RequestId: XXXXX I followe...
alteco
4 years agoRegular Visitor
Hello,
Yes, I already did it and it didn't solve the problem.
Thank you
Kandeebaraj_G
1 year agoFrequent Visitor
you must add the service principal with proper permissions and add it to the workspace as the role you wish and then you must embedd the report by passing the tenant id , client secret for authenticating purpose and group_id and report id to specify the report .The group id must be the workspace id where you have added the service principal.For RLS you must pass the role to get authenticated.
Best Regards,
Kandeebaraj G
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.