Forum Discussion
Effective identity to be provided Error
Hi,
I'm using the Embed for your customers > AppOwnsData .Net Framework sample from Microsoft Github and I'm getting the error below. Does anybody know how to rectify this, or where in the code its referencing?
Error and sample is below. Thanks
Creating embed token for accessing dataset ***************** requires effective identity to be provided
GitHub - microsoft/PowerBI-Developer-Samples: A collection of Power BI samples for developer use.
- Anonymous2 years ago
Hi lherbert501
This error typically occurs when the application doesn't have the necessary permissions to access the dataset. Here are some steps for your reference:
Ensure that the identity used by your application has the appropriate permissions to access the dataset. You can verify this in the Power BI Admin portal.
You can open the App Registrations, click API permission and add a permission which has enough access to the report you want to embed.
Depending on your authentication method, you need to fill the following parameter values in the code:
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- AnonymousNot applicable
Hi lherbert501
This error typically occurs when the application doesn't have the necessary permissions to access the dataset. Here are some steps for your reference:
Ensure that the identity used by your application has the appropriate permissions to access the dataset. You can verify this in the Power BI Admin portal.
You can open the App Registrations, click API permission and add a permission which has enough access to the report you want to embed.
Depending on your authentication method, you need to fill the following parameter values in the code:
Best Regards
Zhengdong Xu
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.