Modify Office 365 User Details Using PowerShell

After showing how to create Office 365 users using .CSV, In this article I’ll show you how to modify an Office 365 User details using PowerShell.

Before you start make sure Install the Windows PowerShell Module for Office 365 using my article and connect to Office 365 using PowerShell

Once you log In to the service view the current user details using:

get-msoluser -UserPrincipalName labusr03@mycompany.com | fl

To change the Mobile Phone number use the cmdlet below:

set-msoluser -UserPrincipalName labusr03@mycompany.com `

-MobilePhone 135-0909-33


Posted

in

by