Try to setup Azure AD B2C as Azure AD External Identities

Mateusz Jendza 21 Reputation points
2021-12-21T23:21:42.993+00:00

Try to setup Azure AD B2C as Azure AD External Identities

I'm testing the solution with SAML Tester: https://github.com/azure-ad-b2c/saml-sp-tester
With issuer 'urn:federation:MicrosoftOnline'
With Azure AD B2C SAML Technical Profile:
159444-image.png

The result is:
AADSTS500082: SAML assertion is not present in the token.

My Saml Assertion is not Signed, but Custom Policy configuration is valid. The SAML Response is signed with Signature SHA-1 - I tested ADFS integration and the SAML Assertion is signed with SHA256.

The response from https://login.microsoftonline.com/login.srf
Request Id: 84d76f44-9256-436b-a7b8-ba0334711d00
Correlation Id: cccc7fe4-b4ac-48a8-b65e-77ebdd0553f9
Timestamp: 2021-12-21T22:35:40Z
Message: AADSTS500082: SAML assertion is not present in the token.

Can you please help me with what part of configuration in Azure B2C is missing or wrong?

Microsoft Entra External ID
Microsoft Entra External ID
A modern identity solution for securing access to customer, citizen and partner-facing apps and services. It is the converged platform of Azure AD External Identities B2B and B2C. Replaces Azure Active Directory External Identities.
2,662 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,645 questions
{count} votes

Accepted answer
  1. AmanpreetSingh-MSFT 56,311 Reputation points
    2021-12-22T08:24:56.067+00:00

    Hi @Mateusz Jendza • Thank you for the confirmation.

    This is not a supported scenario. You cannot federate a domain that is present in the Azure AD environment, i.e., domain_name.onmicrosoft.com or any_verified_domain.com added to any Azure AD tenant. That means you cannot federate your_b2c_tenant.onmicrosoft.com or its verified domain as external IDPs of your Azure AD tenant. This option works only for the domains that are not added to any Azure AD tenant and configured in external IDPs.

    As of now, it is possible to add Azure AD tenant as IDP to the B2C tenant but not vice-versa. For this purpose, you can refer to the documentation here: https://learn.microsoft.com/en-us/azure/active-directory-b2c/identity-provider-azure-ad-single-tenant?pivots=b2c-custom-policy

    -----------------------------------------------------------------------------------------------------------

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.


0 additional answers

Sort by: Most helpful