How to edit the contact info in Azure Portal

honeybee170 181 Reputation points
2021-02-24T14:19:04.833+00:00

Hi, Is it possible to edit the "Alternate email" attribute as well as the "Proxy address" attribute in Azure Portal using Powershell? I didn't find an appropriate attribute in the help for the "Update-AzADUser" cmdlet. ![71590-image.png][1] [1]: /api/attachments/71590-image.png?platform=QnA

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

Accepted answer
  1. VipulSparsh-MSFT 16,251 Reputation points Microsoft Employee
    2021-02-24T15:05:35.097+00:00

    @honeybee-7020 Powershell MSOnline module used to show the alternate email address, however this is an older version V1, and customers are suggested to use the V2 module for AAD powershell.

    In MS online module, this is how it is fetched :

    71626-image.png

    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. honeybee170 181 Reputation points
    2021-02-24T15:16:58.83+00:00

    Changing the "AlternateEmailAddresses" attribute works using the "Set-MsolUser" cmdlet, but not changing the "ProxyAddresses" attribute. I tried as follows:

    Get-MsolUser -ObjectId xxx | Set-MsolUser -ProxyAddresses smtp:xxx.xxx@xxx.onmicrosoft.com
    

    How can I modify the "ProxyAddresses" attribute?