Hello Matthew D Richards,
Good day! Thank you for posting to Microsoft Community. We are happy to help you!
I'm sorry to hear you're having trouble after changing the SMTP address and creating a new shared mailbox. It seems that the Windows Live ID was still set incorrectly. Now, you want to change the Windows Live ID via PowerShell. Our primary focus is on Outlook basics, and I'd like to provide some guidance regarding your query.
To change the Windows Live ID via PowerShell, follow these steps:
- Install & Connect:
Set-ExecutionPolicy RemoteSigned Install-Module MsOnline Import-Module MsOnline Connect-MsolService - Change the Windows Live ID: Once connected, you can change the User Principal Name (UPN) using the
Set-MsolUserPrincipalNamecmdlet. Here is an example:
Reference: Set-MsolUserPrincipalName (MSOnline) | Microsoft LearnSet-MsolUserPrincipalName -UserPrincipalName "******@domain.com" -NewUserPrincipalName "******@domain.com" - Verify the Changes: After making the changes, you can verify them by running:
Get-Mailbox -Identity "******@domain.com" | Format-List WindowsLiveID,PrimarySmtpAddress
If you continue to experience difficulties after implementing these recommendations, I recommend reaching out to Microsoft PowerShell support/community. Please visit the Microsoft PowerShell Community; Experts in this category possess extensive knowledge of these issues and can provide tailored solutions to unique problems. I apologize for redirecting you to a different community, but I believe this step will ensure faster and more accurate assistance for your specific scenario. Thank you for your cooperation and understanding. Please do not hesitate to post your queries in Microsoft Community, and we will always do our best to assist you!
Sincerely
Feroz Mahmud | Microsoft Community Moderator