问题
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