Customised automatically generated unique serial userid alias for every user

Iron Contributor

Hi,

 

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 u####@contoso.com

 

So, if I create; jon.doe@contoso.com, I would like that account to automatically have an alias of u0001@contoso.com. And when jane.doe@contoso.com is created, it should have u0002@contoso.com and so on...

 

Could this be done?

 

Thanks,

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,

 

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?

 

Thanks,