I have an Office 365 Business Premium user who somehow ended up with the name "Office" and alias of "Jane". It might have happened when the accounts were first provisioned a few years ago and the name Office was one of her aliases since she was the office manager.
Now, however, we'd like to have a shared mailbox called Office that more than one person can manage and receive messages in. Trying to use the GUI to create the shared mailbox gives the error that the name is already in use. When I ran the "Get-mailbox" command, I found that Jane was actually listed as the alias value for the name "Office" instead of the other way around. I've gone through the additional email addresses and made sure Office@company.com was not assigned to her any more, but the Name appears to be a value I can't change from the GUI.
My problem is trying to figure out the "Set-mailbox" command I need to run to change Office to Jane. I imagine it's a pretty simple command, but I'm not experienced enough with PS to untangle the syntax. How do I change mailbox name "Office" to "Jane"?
Your help is greatly appreciated!