Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Issue for embedding power bi report in wordpress

Hi All,

I'm trying to use the wordpress plugin https://wordpress.org/plugins/embed-power-bi/ for displaying PowerBI reports on my site (with Service Principal permission). The plugin reports the error 

"AADSTS65001: The user or administrator has not consented to use the application with ID 'xyz' named 'myPBI'. Send an interactive authorization request for this user and resource."
Following the indications found in the Microsoft documentation, I changed the API permissions up to this configuration
BMTI_0-1678708994597.png

 

but it keeps giving the same error. Is there any way to fix this? or can you recommend me a way to have my reports on a wordpress site?

Thank you in advanced

 
Status: Investigating

Hi @BMTI ,

 

AADSTS65001: The user or administrator has not consented to use the application.

This error usually occurs when you missed granting admin consent to the added scope while retrieving access token.

Grant tenant-wide admin consent to an application or Grant consent on behalf of a single user

Refer to the documents: https://learn.microsoft.com/en-us/azure/active-directory/manage-apps/grant-admin-consent?pivots=port...

https://learn.microsoft.com/en-us/azure/active-directory/manage-apps/grant-consent-single-user?pivot...

Hope this helps.

 

Best regards.
Community Support Team_ Caitlyn

Comments
v-xiaoyan-msft
Community Support
Status changed to: Investigating

Hi @BMTI ,

 

AADSTS65001: The user or administrator has not consented to use the application.

This error usually occurs when you missed granting admin consent to the added scope while retrieving access token.

Grant tenant-wide admin consent to an application or Grant consent on behalf of a single user

Refer to the documents: https://learn.microsoft.com/en-us/azure/active-directory/manage-apps/grant-admin-consent?pivots=port...

https://learn.microsoft.com/en-us/azure/active-directory/manage-apps/grant-consent-single-user?pivot...

Hope this helps.

 

Best regards.
Community Support Team_ Caitlyn