Default UPN name in AD.

Is there a way to default UPN to the user@company.com while manually creating a user in AD?
Currently is defaulting to @ad.company.com in the user login name.  So we need to change it in drop-down menu every time.  
This is in Windows Server 2016 Std Edition Domain Controller.
Please advice.  Thanks.
LVL 17
Tiras25Asked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Jose Gabriel Ortega CastroCEOCommented:
Yes,
Here's a step by step, but it's for OU:
https://blogs.technet.microsoft.com/canitpro/2015/07/07/step-by-step-changing-the-upn-suffix-for-an-entire-domain-via-powershell/

Another way I use, it's to do it using exchange email address policies,

Jose.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Vasil Michev (MVP)Commented:
Not possible, afaik. But if you provision users via some automated script, you can simply set it there.
0
Tiras25Author Commented:
Thanks again Jose!  I knew its possible in PS.  Was curious if there a way to achieve this manually in GUI.
0
Big Business Goals? Which KPIs Will Help You

The most successful MSPs rely on metrics – known as key performance indicators (KPIs) – for making informed decisions that help their businesses thrive, rather than just survive. This eBook provides an overview of the most important KPIs used by top MSPs.

Jose Gabriel Ortega CastroCEOCommented:
Not really, GUI is not for professionals! :P hahaha GUI is for people that are usually learning the platform :) PS rocks! :) haha and I'm glad to help
0
Tiras25Author Commented:
Gotcha!  Thanks again Jose.
0
Jose Gabriel Ortega CastroCEOCommented:
And a 3rd way is to use get-aduser and get all the users that have different UPN (ex: domain.local) from the domain you want (ex: domain.com).
with that group you can decide to set them using a script. I'll post one script on technet that does so today.

Jose.
0
Jose Gabriel Ortega CastroCEOCommented:
(Remember to mark the answers)
0
Tiras25Author Commented:
Got it.   I guess with 1-2 random users that's OK.  With more I can schedule a PS script or scripted Get-Aduser.
0
Sean Plemons Kelly, CISSPSecurity/Information Assurance EngineerCommented:
Right click the target Organizational Unit and select Properties.

In the Attributes Editor tab, scroll down to the uPNSuffixes attribute, change it to what you want it to be.
0
Tiras25Author Commented:
Thanks Sean.  Still not taking an effect..  
I can change it but cannot make it as a default.
0
Sean Plemons Kelly, CISSPSecurity/Information Assurance EngineerCommented:
Thanks Sean.  Still not taking an effect..  
I can change it but cannot make it as a default.

Try doing it through ADSI edit.

1. Windows Key + Run, type MMC
2. File > Add/remove snap-ins
3. Select ADSI edit, click add. Click ok.
4. Right click ADSI edit, click Connect to...
5. Put in the relevant domain information. Click ok.
6. Drill down to your domain's OU (I.E. DC=domain,DC=com, then OU=Domain)
7. Right click the domain OU (I.E. OU=Domain), select properties.
8. Find the uPNSuffixes attribute, change it to what you want it to be.
0
Tiras25Author Commented:
Its the same thing Sean.   I can edit and add.  But I cannot make it as a default in drop-down.  I guess its not really possible in GUI like Jose mentioned above.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Powershell

From novice to tech pro — start learning today.