Blazor single-page application with SSO using Microsoft Entra ID Multitenant App
Similar to this question: https://learn.microsoft.com/en-us/answers/questions/1495637/blazor-server-application-with-sso-using-microsoft
I followed the tutorial: https://learn.microsoft.com/en-gb/entra/identity-platform/quickstart-single-page-app-sign-in?pivots=workforce&tabs=blazor-workforce%2Cjavascript-external
I can sign in using a user account in the same tenant but not with a user from another tenant. I have set the permissions up in Microsoft Entra Admin and in Azure for the app to be multitenant but I get the following error:
Selected user account does not exist in tenant 'tenant' and cannot access the application 'client ID' in that tenant. The account needs to be added as an external user in the tenant first. Please use a different account.
Screenshot attached: