Update user's Mail attribute in Azure AD.

Prashant 31 Reputation points
2022-03-01T14:44:43.72+00:00

Hi.

I changed an SPN of a user but the Mail attribute cannot be changed in the UI. It reverts the change, using AZ CLI it doesn't take effect nor with using Powershell cmdlet: Update-AzADUser. This is not an Exchange user so I would like to amend for consistency in the directory.

Can you please let me know of other ways to modify this attribute?

I will want to modify: Mail, MailNickname, and SMTP (Primary) ProxyAddress.

Thank you.

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
20,635 questions
{count} votes

Accepted answer
  1. Danny Zollner 9,871 Reputation points Microsoft Employee
    2022-03-01T16:06:59.187+00:00

    Is this user synchronized from on-prem? If so you'll need to update those attribute values on-prem. If it's a cloud user, I believe (95%~ sure..) that you can't edit those values unless the user is Exchange licensed.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful