I have a Azure B2C instance configured to manage authentication for my web service. When I try and add an Identity provider using a Microsoft Account following these instructions https://learn.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-microsoft-account, It will only allow the user to use a personal account to sign in. I would like for the user to be able to use a work or school account to sign in as well.
I have tried these instructions for multi-tenant https://learn.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-azure-ad-multi-tenant-custom?tabs=app-reg-ga. But when I try to create the custom IDP, I get the following error message:
"The Metadata Endpoint 'https://login.microsoftonline.com/common/v2.0/.well-known/openid-configuration' is not an allowed endpoint."
I just want to be able to give the user to choose any Microsoft account to login. Similar to how I signed up for this learn.microsoft.com, where it let me choose from personal or my work accounts.