Azure AD B2C Custom Policy ExternalUser is not found using ExternalAzureAD

Semen Shekhovtsov 0 Reputation points
2024-07-23T19:53:34.2966667+00:00

The custom policy authentication is integrated and works fine for the users, created specifically to the current tenant. However, in case, when user is logging in using AD account from a different tenant, it throws an error, saying that the account is not found.

I have verified, that the App Registration for the SPA has the following keys set:

{

"signInAudience": "AzureADandPersonalMicrosoftAccount",

"accessTokenAcceptedVersion": 2,

}

There is another tenant setup and configured by me, that works fine with external users (from other tenants). I can't find what is the difference. Please advice.

Active Directory
Active Directory
A set of directory-based technologies included in Windows Server.
6,624 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.