Customised automatically generated unique serial userid alias for every user




I would like to have a unique serial userid for every user that is created within the Office 365 tenant or Azure AD. I would like this to be customise-able and automated, and should be in the format


So, if I create;, I would like that account to automatically have an alias of And when is created, it should have and so on...


Could this be done?



2 Replies
Hi Haneef,

You can do it with powershell using for example a csv that have the information to create the users with data that you need to accomplish your goal.

Hello Nuno,


Thanks for that. Could you send me any pre-written PowerShell scripts that you're aware of?


Is there a way of configuring Azure AD to do it automatically?


Otherwise, the IT support would've to run this script every single time they create an user. We would like to automate these processes as much as possible. Even if there're 3rd part software to accomplish this.


Kind regards,