大网数据广告活动
域与目录服务

Guest Invitation Redemption Fails with Error AADSTS50107

· 52CE 我爱测

Provides a solution to the error AADSTS50107 that occurs when a guest user tries to redeem an invitation via a SAML external trust.

Summary

This article provides a solution to the Microsoft Entra authentication error AADSTS50107. This error occurs when a guest user attempts to redeem an invitation from a tenant that uses a Security Assertion Markup Language (SAML) external trust.

Symptoms

Consider the following scenario:

  • Your tenant has a direct federation trust with an external organization that uses a SAML or WS-Fed identity provider (IdP).
  • The external organization invites a user to your tenant as a guest.
  • The guest user attempts to redeem the invitation.

In this scenario, the invitation redemption fails with the following error message:

Error: AADSTS50107: The requested federation realm object 'https://abc.contoso.com' does not exist.

Cause

This issue occurs when the issuer URL value in the SAML response doesn't match the one configured in Microsoft Entra ID. The issuer URL in the SAML response corresponds to the URL mentioned in the error message.

Resolution

To resolve this issue, follow these steps:

  1. Ensure that the issuer URL in the external IdP matches the one configured in Microsoft Entra ID.

  2. Verify or update the issuer URL in Microsoft Entra ID to align with the one in the SAML response.

    To verify the issuer URL in Microsoft Entra ID, follow these steps:

    1. Sign in to the Microsoft Entra admin center as an administrator.
    2. Select Manage > External Identities.
    3. Select View all identity providers.
    4. Under the Custom tab, select the desired SAML trust (such as Contoso.com).
    5. Select Edit Configuration for the desired SAML trust.
    6. Check if the issuer URL configured in Microsoft Entra ID matches the saml:Issuer value in the SAML response sent by the external IdP.

For more information, see Add federation with SAML/WS-Fed identity providers.

More information

For a full list of Microsoft Entra authentication and authorization error codes, see Microsoft Entra authentication and authorization error codes.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors. Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 05/21/2025
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。