'Embed Power BI Report in a single page app for organisation users

I am trying to embed the Microsoft Power BI report into the react app. As per the documentation, for embedding and accessing the Power BI Rest APIs we need to register an Azure Active Directory App.

As we already have an Azure AD app that we are using for single sign-on I tried to add scope for report access. But I am not getting any success

I added "https://analysis.windows.net/powerbi/api/Report.Read.All" scope in my msal config but it's not working

Can't we use the same APP (Already used for SSO) for accessing POWER BI?

This is the article that I am following

https://docs.microsoft.com/en-us/power-bi/developer/embedded/embed-sample-for-your-organization?tabs=net-core

Thank you



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source