Update all users alias with new domain

Bhasker Chittanoori 0 Reputation points
2024-05-13T16:30:49.98+00:00

I am not expert with PS. I am trying to remove primary domain from tenantA to TenantB. For that i have chnaged all users email and upn domains to default oldcompay.onmicrosoft.com. But now to completely remove the primary domain, the other dependency like update alias and skype addresses for all users.

Can someone help me with a script to update alias domain. Attached is the screenshot for ref

Windows for business | Windows Server | User experience | PowerShell
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.