Score:0

Automate the creation of secondary mailbox in Outlook 2016

cn flag

I allow myself to do this post in order to have your help. I am currently looking for a solution to automate the addition of a secondary mailbox in Outlook 2016. I saw a lot of stuff including the "zeroconfigexchange" registry tool however I failed to implement it because it looks like I don't have the registry values (screenshot attached). Can you help me please?

enter image description here

djdomi avatar
za flag
please be more specific about the issue.
Yarka avatar
cn flag
The problem is simple in itself, I would like to automate the addition of a secondary mailbox on outlook 2016. Can you help me on this?
Score:0
us flag

Do you mean the ZeroConfigExchange?

Based on my test and research, our clients don't have this registry key by default and we need create it in the following locations:

HKEY_CURRENT_USER\Software\Microsoft\Office\xx.0\Outlook\AutoDiscover(xx represents the current Office version such as 16.0)

HKEY_CURRENT_USER\Software\Policies\Microsoft\Office\xx.0\Outlook\AutoDiscover

Then change the default profile with a new name different with existing ones and create a new profile for this new name in registry key:

Default Profile Setting: HKEY_CURRENT_USER\Software\Microsoft\Office\XX.0\Outlook

New Profile: HKEY_CURRENT_USER\Software\Microsoft\Office\XX.0\Outlook\Profiles

More details about this process: ZeroConfigExchange

Because you are using Outlook 2016, you could use the following .reg file to create these registry keys(Before running them, please backup the original keys and don't change other non-related ones.):

Windows Registry Editor Version 5.00
    
[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\AutoDiscover]
"ZeroConfigExchange"=dword:00000001

[HKEY_CURRENT_USER\SOFTWARE\Policies\Microsoft\office\16.0\outlook\AutoDiscover]
"ZeroConfigExchange"=dword:00000001

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook]
"DefaultProfile"="ZeroConfigExchange"

[HKEY_CURRENT_USER\SOFTWARE\Microsoft\Office\16.0\Outlook\Profiles\ZeroConfigExchange]

If you want to apply the ZeroConfig on domain-joined clients, GPO is suggested.

Yarka avatar
cn flag
Thank you for your answer @Ivan_Wang ! I have executed your .reg file that you sent me. However now it is the part profile which does not seem to be functional. I did create the values ​​(see screenshot) but I do not have a test profile then which is implemented in the application.
Ivan_Wang avatar
us flag
Did you login to windows with a domain account?
Yarka avatar
cn flag
No i'm login with a local account.
Ivan_Wang avatar
us flag
*ZCE is a registry setting that tells Outlook to create a new profile using the SMTP address from Active Directory and to then leverage Autodiscover.* (https://techcommunity.microsoft.com/t5/outlook-global-customer-service/zeroconfigexchange-automating-the-creation-of-an-outlook-profile/ba-p/389691#:~:text=ZCE%20is%20a%20registry%20setting%20that%20tells%20Outlook%20to%20create%20a%20new%20profile%20using%20the%20SMTP%20address%20from%20Active%20Directory%20and%20to%20then%20leverage%20Autodiscover.).
Ivan_Wang avatar
us flag
If it's a local account, ZCE doesn't seem to work except if it has AD attributes(Domain account). If you want to add a secondary mailbox via ZCE, you may need to login to windows with a domain account, create a profile via ZCE which will configure a mailbox in outlook with the current windows credential, and then add your mailbox to this profile and set as the primary(default) mailbox.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.