microsoft-identity-web
microsoft-identity-web copied to clipboard
[Documentation] How to call a Azure AD downstream api from an Azure B2C application
Documentation related to component
Microsoft.Identity.Web
Please check all that apply
- [ ] typo
- [x] documentation doesn't exist
- [ ] documentation needs clarification
- [ ] error(s) in the example
- [x] needs an example
Description of the issue
I have 2 tenants. One Azure AD (Tenant A) and an Azure AD B2C (Tenant B). In Tenant A I have a multi tenant app registration (App 1). In Tenant B I have an application where I can login with a Blazor Server frontend with Azure B2C user flows (App 2).
In App 1 I have a scope: https://graph.dev.sample.com/access_as_user
In App 2 I want to call the API (App 1) as the logged in user.
How can we do that? I think I have 95% complete but missing the last part. I never get a consent screen... How can I force it? Do I need to use "common" somewhere?