I am stuck with the OpenIdConnect. I am trying to change the sign in method from personal (login.live.com) to work account (login.microsoftonline.com). The login with login.live.com is working perfectly so I thought it would just be to change the providername and metadata to login.microsoftonline.com. But it wasn’t so easy, I am getting “AADB2C90238 provided token does not contain valid issuer” when I try to login with my business account.
Here is part of the working custom policy where it works to login with a Microsoft account (which means the app registration, clientid etc is correct):
And this is what I am trying to change to make it possible to instead sign in with a business/work account:
I’ve tried to replace the providername and metadata to login.microsoftonline.com