Office

Category: azure scripting and command line tools

Question

Sershleon on Thu, 21 May 2020 16:43:43


Hi Everybody, I need some help. I need to change the name of two mail accounts through Azure by PowerShell commands, is it possible?

Replies

SamaraSoucy-MSFT on Thu, 28 May 2020 20:10:34


There is a Powershell library specifically for Azure Active Directory called MSOnline. Within that there is a command called Set-MsolUser that will allow you to update properties of a user, including the display name: https://docs.microsoft.com/en-us/powershell/module/msonline/set-msoluser?view=azureadps-1.0