Entra B2B self-service sign-up creates guest without AlternativeSecurityId (no federated identity) → AADSTS50020

Ritwik Kumar 0 Reputation points
2026-11-25T06:04:32.51+00:00

Problem

Since around 20 Nov 2026, guests created through B2B self-service sign-up (workforce tenant, B2X_1_ user flow) are not linked to their home account.

The sign-up itself completes:

  1. App calls /authorize with prompt=create
  2. User authenticates at their home Entra tenant → consent screen → "Add more details"
  3. CPIM Service creates the guest ("A self-service sign up request was completed" = success)

But the new guest has no federated identity. identities only contains:

userPrincipalName | <tenant>.onmicrosoft.com

and no federated | ExternalAzureAD entry. creationType is null.

The final redirect then fails with:

AADSTS50020: User account '...' from identity provider 'https://sts.windows.net/<home-tenant>/' does not exist in tenant '...' and cannot access the application ...

Every later sign-in shows "This account does not exist in this organization."

Evidence (directory audit "Add user" by CPIM Service)

| Created | Modified properties | Result |

|---|---|---|

| 12 Nov, 16 Nov | includes AlternativeSecurityId, CreationType | works |

| 20 Nov 02:54 UTC (email OTP guest) | includes AlternativeSecurityId | works |

| 24 Nov, 25 Nov (x2) | no AlternativeSecurityId, no CreationType | AADSTS50020 |

Already ruled out

  • API connector: same result with the "Before creating the user" connector removed from the flow
  • User flow: a newly created user flow behaves the same
  • Home tenant: affects users from different, unrelated home tenants
  • Cross-tenant access: default inbound/outbound B2B collaboration allowed for all users/apps, no partner-specific overrides
  • External collaboration settings: guest self-service sign-up via user flows = Yes; authenticationFlowsPolicy.selfServiceSignUp.isEnabled = true
  • Invitations: admin invitations still create correctly linked guests

The only config changes around the start time were two edits to the user flow and an authentication methods policy update (FIDO2) on 20 Nov. The audit log shows no property values for these changes. The tenant's authentication methods policy is still preMigration.

Questions

  1. Is anyone else seeing self-service sign-up guests created without AlternativeSecurityId recently?
  2. Is there any user-flow or tenant setting that controls whether CPIM writes the home-tenant link when it creates the guest?
  3. Is there a supported way to repair an existing unlinked guest other than "Convert to external user" or deleting it and inviting again?

A support case is open as well. I'll update here with the outcome.

Microsoft Security | Microsoft Entra | Microsoft Entra ID

1 answer

Sort by: Newest
  1. AI answer

    2026-11-25T06:06:14.63+00:00

    The missing ExternalAzureAD identity is not controlled by a documented user-flow setting, and there is no documented direct patch for AlternativeSecurityId; for an affected object, test Reset redemption status only if it is eligible, then use conversion or delete-and-reinvite if the identity remains unlinked.

    Expected behavior and likely scope

    For a redeemed B2B user authenticating through another Microsoft Entra organization, Identities is expected to show ExternalAzureAD. Before redemption, it can contain only the host organization’s domain. UserType is independent of the sign-in identity, so changing Guest/Member does not establish the missing external identity.^1^

    Your audit comparison therefore identifies an abnormal provisioning/redemption result: CPIM created a directory object, but the completed flow did not leave an identity that Entra can match to the incoming home-tenant account. That is consistent with AADSTS50020, which means the identity-provider account cannot be resolved in the resource tenant.^2^

    No Microsoft documentation cited here confirms a service incident beginning on 20 November 2026, so whether other tenants are affected requires confirmation through the open support case or Service Health. Given that:

    • multiple unrelated home tenants fail,
    • a newly created flow fails,
    • removing the API connector changes nothing,
    • invitation-based guests still work, and
    • older self-service sign-ups contain the expected binding,

    the evidence is suitable for escalation as a self-service provisioning regression, but it does not by itself establish the root cause.

    No documented switch controls the home-tenant binding

    For workforce-tenant B2B self-service sign-up, the documented controls are:

    • tenant-level enablement of guest self-service sign-up;
    • identity providers allowed by the flow;
    • collected attributes;
    • application association.

    Microsoft Entra ID is the default identity provider. There is no documented flow or tenant option that enables or disables writing AlternativeSecurityId/ExternalAzureAD independently.^3^

    The FIDO2 policy change is therefore only temporal correlation; the available documentation does not connect authentication-method policy migration state to creation of B2B identity bindings.

    Preservation-first test for one affected guest

    Reset redemption status is different from “Convert to external user.” It reinvites an existing external guest while retaining its object ID, group memberships, and application assignments. However, Microsoft documents it for redeemed B2B guests and identity-change scenarios; it does not guarantee that it will add ExternalAzureAD or repair a CPIM object malformed during initial self-service provisioning.^4^

    1. Inspect one affected object’s externalUserState, state-change time, mail, and identities:
    GET https://graph.microsoft.com/v1.0/users/{user-id}?$select=id,userType,mail,otherMails,externalUserState,externalUserStateChangeDateTime,identities
    
    1. Proceed only if:
      • it is an existing external guest with a compatible redemption state, or the user profile exposes Reset redemption status; and
      • mail contains the verified home-account address. If mail is empty, stop and populate a verified address in mail or otherMails before constructing an invitation.
    2. With at least Helpdesk Administrator or User Administrator, open: Microsoft Entra admin center → Entra ID → Users → affected user → Overview → B2B collaboration → Reset redemption status → Reset
    3. Have the user redeem the new invitation using the intended home-tenant account.
    4. Re-query identities. Success for an Entra organizational account means it now reports ExternalAzureAD. If it still contains only the resource tenant’s domain, reset redemption did not repair this failure mode; do not repeatedly reset it.

    Supported fallbacks

    If reset is unavailable or leaves the object unlinked:

    1. Preserve-object route: use the documented local-to-B2B migration/conversion process by mapping the verified external email and inviting the existing account. This is the “Convert to external user” family of operations you mentioned.^5^
    2. Clean recovery: record memberships, assignments, ownership, and other dependencies; delete the malformed object and invite the user again. The invitation API creates a B2B Guest object and requires redemption before access.^6^

    There is no documented supported operation for manually writing only the missing AlternativeSecurityId or inserting an ExternalAzureAD identity into this malformed object.

    Add to the support case

    Provide Microsoft Support with:

    • one successful pre-20-November CPIM Add user audit event;
    • one failed post-20-November event;
    • request ID, correlation ID, and UTC timestamp from a fresh reproduction;
    • exported identities, externalUserState, and externalUserStateChangeDateTime;
    • user-flow ID and application ID;
    • confirmation that invitation and email-OTP provisioning still produce linked objects;
    • the exact time and audit event IDs of the user-flow and FIDO2 policy changes.

    Ask Support specifically to compare the CPIM provisioning operation that normally writes the external home-tenant binding, rather than reopening the already-eliminated API connector, cross-tenant access, and user-flow configuration branches.


    References

    1. Understand and manage the properties of B2B guest users
    2. Error AADSTS50020 - User account from identity provider does not exist in tenant | Microsoft Learn
    3. Add B2B Guest Sign-in - Microsoft Entra External ID | Microsoft Learn
    4. Reset the redemption status for a guest user in Microsoft Entra External ID
    5. Convert local guest accounts to Microsoft Entra B2B guest accounts
    6. Create invitation
    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

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