profit10 Posted July 29, 2015 Posted July 29, 2015 Hi, I'll explain our situation and what happened first before asking what I can do. Our staff usernames had always been set as John.Smith however it was decided that this year they wanted it changed to SmithJ. This wasn't an issue and we changed them all no problem. I then synced our AD with Office 365 and all users showed up with the correct username @onmicrosoft.org which obviously needed changing. I licensed them all in powershell and then ran a script I'd used successfully before with student accounts to change the microsoft domain to our own one. This is where it gets weird and I can't understand why it happened. It changed the domain fine, however it also changed all names back to the old naming convention i.e john.smith So now all the display names show smithj but the username is [email protected] Is there a way I can easily match the username to the display name @DomAin.com? I hope this makes sense. Thanks a lot.
Marshall_IT Posted July 30, 2015 Posted July 30, 2015 Firstly, I'm assuming but would like to confirm, you're using directory sync / ad connect? If so i used a tool to bulk change the details in ad. It was called bulk ad. http://www.wisesoft.co.uk/software/bulkadusers/default.aspx
profit10 Posted July 30, 2015 Author Posted July 30, 2015 I'm using dirsync. I have used that tool before but I need to change the username in 365, not AD. All details are correct in AD.
Marshall_IT Posted July 30, 2015 Posted July 30, 2015 You probably need to run this then Set-MsolUserPrincipalName -UserPrincipalName [CurrentUPN] -NewUserPrincipalName [NewUPN]
profit10 Posted July 31, 2015 Author Posted July 31, 2015 Thanks for the reply. Is there a way a I can do this in bulk?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now