Forum Discussion
O365 Powershell | Changing usernames and display names in bulk
- Nov 18, 2021
Hi Joao,
don't specifically have one handy for exactly this task - you could use my script https://github.com/SteveMacNZ/Azure-M365/blob/main/M365/AzureAD/User-Management/Invoke-CreateCloudAccts.ps1 along with the excel file and adapt the logic to look for the account and then use Set-MsolUser rather than new... script and excel template are in my github link below
https://github.com/SteveMacNZ/Azure-M365/tree/main/M365/AzureAD/User-Management
Hi Joao,
don't specifically have one handy for exactly this task - you could use my script https://github.com/SteveMacNZ/Azure-M365/blob/main/M365/AzureAD/User-Management/Invoke-CreateCloudAccts.ps1 along with the excel file and adapt the logic to look for the account and then use Set-MsolUser rather than new... script and excel template are in my github link below
https://github.com/SteveMacNZ/Azure-M365/tree/main/M365/AzureAD/User-Management