Embed Power App Canvas in a Angular 9 web app with Azure AD B2C
I have an app that was developed with Angular 9 and we are using the login with Azure AD B2C. The users that we have in the Azure AD B2C are kind of Member.
We have a new requirement where we have to embed power apps in the web app (iframe tag), but we saw that always ask for a sign in, but we want to re-use the token generated with the login to see the power app.
We created the power apps in the same directory as the Azure AD B2C and we shared to everyone. I tested the @microsoft/powerappsplayersdk sdk for angular but does not work, exists a getAccessToken function but neither works
It looks like there is some communication issue between Azure and Angular. I am not certain what is causing it. It seems like it should be working on the PowerApps side but I am not certain. Maybe there is a support desk you can contact with Angular? You can also always create a ticket with Microsoft Support on this too but depending on what the root of the issue is we may not be able to help much. I will include a link below on how to create a ticket. Otherwise if any communities members might know feel free to chime in.