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.

Reply
alpit_anand
New Member

Not able to see the PowerBi emebed, by the ServicePrinciple token

Not able to use access token provided by the ServicePrincipal for the powerBi.

This is our rest call for powerBI token generetation by Azure AD
{
"client_id": "***********",
"resource ": "https://analysis.windows.net/powerbi/api",
"grant_type": "client_credentials",
"client_secret": "**********",

}

Now we got the access_token, we can use the token to do all sort of stuff from PowerBI api, we are also generating the Powerbi embed token by this, which is not working, to display the embedded powerBI

Error is

Refused to display 'https://app.powerbi.com/groups/02%%%%%%%%6569ceb38597/reports/9bc00%%%%%%b74e3cc2d60?uid=92qgw' in a frame because it set 'X-Frame-Options' to 'deny'.

1 REPLY 1
Jayendran
Solution Sage
Solution Sage

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.