更改Azure B2C电子邮件地址时,我是否也需要更改UPN [英] When changing an Azure B2C email adress, do I need to change the UPN as well

查看:90
本文介绍了更改Azure B2C电子邮件地址时,我是否也需要更改UPN的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在带有GraphAPI的Azure B2C中,我可以使用http PATCH命令更改现有用户的电子邮件地址: https://azure.microsoft. com/nl-nl/documentation/articles/active-directory-b2c-devquickstarts-graph-dotnet/

In Azure B2C with the GraphAPI I can change the email address of an existing user with a http PATCH command: https://azure.microsoft.com/nl-nl/documentation/articles/active-directory-b2c-devquickstarts-graph-dotnet/

"SignInNames": [
{
  "type": "emailAddress",
  "value": "demo@domain.com"
}

这有效,我可以使用新的电子邮件地址登录.

This works, and I can login with the new email address.

但是这会将UPN保留为旧值,我是否还需要设置UPN,还是将UPN保留在旧电子邮件地址上也没有什么害处?

But this leaves the UPN at the old value, do I need to set the UPN as well, or is there no harm in having the UPN stay at the old email address?

推荐答案

是的,不需要更新UPN字段.

Yes, there is no need to update the UPN field.

这篇关于更改Azure B2C电子邮件地址时,我是否也需要更改UPN的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆