错误代码门户
MicrosoftMicrosoft Entra ID错误代码

AADSTS501241

Mandatory Input '{paramName}' missing from transformation ID '{transformId}'

其他表示形式:501241

代码 AADSTS501241 · Microsoft Entra ID 报告的问题。

转换 ID“{transformId}”中缺少强制输入“{paramName}”。当 Microsoft Entra ID 尝试构建对应用程序的 SAML 响应时,会返回此错误。 NameID 声明或 NameIdentifier 在 SAML 响应中是必需的,如果 Microsoft Entra ID 无法获取 NameID 声明的源属性,则会返回此错误。作为解决方案,请确保添加声明规则。要添加声明规则,请至少以云应用程序管理员身份登录 Microsoft Entra 管理中心,然后浏览到 Entra ID > 企业应用程序。选择您的应用程序,选择单点登录,然后在用户属性和声明中输入唯一用户标识符(名称 ID)。

Google Translate · 此内容为自动翻译。技术术语及适用条件请以英文原文为准。

Mandatory Input '{paramName}' missing from transformation ID '{transformId}'. This error is returned while Microsoft Entra ID is trying to build a SAML response to the application. NameID claim or NameIdentifier is mandatory in SAML response and if Microsoft Entra ID failed to get source attribute for NameID claim, it returns this error. As a resolution, ensure that you add claim rules. To add claim rules, sign in to the Microsoft Entra admin center as at least a Cloud Application Administrator, and then browse to Entra ID > Enterprise apps. Select your application, select Single Sign-On and then in User Attributes & Claims enter the Unique User Identifier (Name ID).

故障排除与诊断链接

请先确认文档中的产品、版本及发生环境与当前情况一致。