本文介绍了UserPrincipleName无效的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 您好

我尝试通过AZURE AD中未验证的域通过restapi创建ServiceNow用户并获取此信息错误。

I try to create an user from ServiceNow thru restapi with unverified domain in AZURE AD and got this error.

是否无法为userpricipalname创建未经验证的域名用户?

did is impossible to create user with unverified domain for userpricipalname?

此处错误

" error":{

    "code":"Request_BadRequest",

    " message":"属性userPrincipalName无效。",

    "innerError":{

      " request-id":" xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

      "date":""2019-04-16T08:38:26"

    },

"error": {
    "code": "Request_BadRequest",
    "message": "Property userPrincipalName is invalid.",
    "innerError": {
      "request-id": "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx",
      "date": "2019-04-16T08:38:26"
    },

推荐答案

它不是可以创建具有未验证域名的用户作为Azure AD中的UPN。如果您的租户中没有经过验证的域,则必须使用默认的tenantname.onmicrosoft.com作为UPN后缀。 

It is not possible to create a user with unverified domain name as the UPN in Azure AD. You have to use the default tenantname.onmicrosoft.com as the UPN suffix if you do not have a verified domain in your tenant. 


这篇关于UserPrincipleName无效的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

10-29 19:13