When changing an Azure B2C email adress, do I need to change the UPN as well

限于喜欢 提交于 2019-12-19 08:09:02

问题


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.

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?


回答1:


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




回答2:


That is why (in my opinion) email address should never be the default. Instead choose username account option and email becomes a much easier field to deal with.



来源:https://stackoverflow.com/questions/36645576/when-changing-an-azure-b2c-email-adress-do-i-need-to-change-the-upn-as-well

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!