Customised automatically generated unique serial userid alias for every user

Iron Contributor



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.



Thanks for that.


So, it can't be done at the Azure AD server end?


I would've to run this script every so-often?


Any pre-written powershell scripts/libraries that can accomplish this task?