With windows roaming profiles, most of the windows profile can roam to other computers in a domain, this includes the outlook profile.

We are moving away from roaming profiles in favor of UEV and work folders. UEV allows certain app data to roam including outlook credentials, but it does not roam the outlook profile.

I'm wondering if any know of a way or has an idea about how to use those credentials through powershell/automation to create the outlook profile.

I would also be okay with not roaming the profile but AT LEAST prompting the user with their correct email credentials. Currently they are prompted with their UPN (user principle name) from the domain which is different from their actual email address.

Thank you


  • Our domain is corpB.example.com
  • The user upn is username@corpB.example.com
  • The user's email should be username@example.com
  • The exchange server is not part of our domain, but I think its part of corpA.example.com

There is a semi-centralized org structure. Where a primary IT department offers some centralized services like exchange. And we have our own domains (subdomains) that can use those services.

  • You mentioned that the email is a different domain than the user, but are the user accounts joined to the same domain as the Exchange Server? – Cory Knutson Jul 12 '17 at 16:16
  • @CoryKnutson I've edited my original post to try to answer that. (i'm new to sysadministration) – Michael Jul 12 '17 at 16:26
  • It answers my question about the Active directory domain being different for the Exchange server and the users. Do you know if corpA.example.com and corpB.example.com are in a shared forest or have a trust between them? – Cory Knutson Jul 12 '17 at 16:35
  • no they are not in the same forest and don't have a trust between them – Michael Jul 12 '17 at 16:46
  • ZeroConfigExchange is a registry setting that may work, but it would require at least a trust, and the auto-discover to be fully functional. I have used it to automate configuration of mail profiles with users in the same domain as Exchange. It may be worth some research. – Cory Knutson Jul 12 '17 at 16:49

You can add additional UPN suffixes in Active directory Domains and Trusts to be able to make the UPN match the email in most cases. Then you can change the UPN in Active Directory Users and Computers or in batches via Powershell.

enter image description here

  • I have seen this solution BUT I am not sure the ramifications of doing that because we have quite a few 3rd party AD integrations. Thank you, but I really looking for any other alternative to that approach :) – Michael Jul 12 '17 at 16:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.