KelvinTegelaar / CIPP

CIPP is a M365 multitenant management solution
https://cyberdrain.com / https://cipp.app
GNU Affero General Public License v3.0
813 stars 5.01k forks source link

[Feature Request]: Option to Rename User as part of Offboarding #2992

Open PurpleGriffin opened 1 day ago

PurpleGriffin commented 1 day ago

Description of the new feature - must be an in-depth explanation of the feature you want, reasoning why, and the added benefits for MSPs as a whole.

We have a few clients that like to rename users when they leave the company, usually x-Staff Name, z-Staff Name or Staff Name (Archive). This currently isn't possible via the offboarding wizard so it requires an additional step. This would just need to be the display name.

PowerShell commands you would normally use to achieve above request

Get-MgUser -Filter "UserPrincipalName eq '$UserID'" | Update-MgUser -DisplayName $NewDisplayName