Outlook 2016 For Mac Autodiscover

Mac

This causes the initial autodiscover process to take 20-30 minutes. Unlike previous versions of Outlook, Outlook 2016 does not allow manual configuration of server settings, and is instead solely dependent on the autodiscover process. There are two workarounds available: 1. Wait 20-30 minutes for the autodiscover process to complete.

  • Then our Mac users started getting certificate errors in Outlook. Turns out that, for some reason, Outlook looks for Exchange autoconfigure settings from domain.com first and then it looks at autodiscover.domain.com. Not only that, it's set to check that every couple of hours instead of just using it for the first-time account.
  • 1.) Start Outlook on the affected MAC client 2.) open Applications Utilities on your computer and the double-click the AppleScript Editor. 3.) Copy/Paste these three lines into a new AppleScript Editor window. Tell application 'Microsoft Outlook' set background autodiscover of exchange account 1.
  • To get started: Open Outlook 2016 from your Launchpad. If you've never used Outlook before, you'll be prompted to Click the Add Account button to go to the Accounts page.; Then, click the option for Other Email under Add An Account.; If you've already set up Outlook before, go to the Tools menu at the top of your Outlook window. Click the Accounts button on the left side.
  • When Microsoft Outlook 2016 for Mac connects to a Microsoft 365 account, Autodiscover is redirected from HTTP to HTTPS, and you may receive a warning message that resembles the following: Outlook was redirected to the server Autodiscover-s.outlook.com to get new settings for your account user@domain.com.
-->

Original KB number: 2872257

Summary

Outlook for Mac provides the option to enable logging for the following features:

  • AutoDiscover service
  • Microsoft Exchange (folder and item synchronization)
  • Microsoft Exchange Calendar
  • LDAP transactions

In Outlook 2016 for Mac version 15.12.3 and later versions, the following features are also logged in addition to those listed earlier:

  • Database
  • IMAP
  • Network Connections
  • Import
  • Upgrade
  • Sync

More information

To enable logging in Outlook 2016 for Mac, follow these steps

Enable logging

  • On the Window menu, select Sync Errors.
  • In the Sync Errors window, select the Gear icon.
  • Select the Turn on logging for troubleshooting option, and then select OK.
  • Restart Outlook and when prompted to turn off logging select Leave Logging On and reproduce the issue you experience and then Quit Outlook to stop the log capture

To disable logging:

  • Restart Outlook and when prompted to turn off logging, select Turn Logging Of. If you disable logging manually, you must restart Outlook to fully disable logging, otherwise it will continue logging in the background.

To enable logging in Outlook for Mac 2011, follow these steps

Enable logging

  • On the Window menu, select Error Log.
  • In the Error window, select the Gear icon.
  • Select the Turn on logging for troubleshooting option, and then select OK.
  • Close the Error window.

To disable logging:

  • Restart Outlook and when prompted to turn off logging select Turn Logging Off. If you disable logging manually you must restart Outlook to fully disable logging, otherwise it will continue logging in the background.

Note

It is important to turn off logging after you complete your troubleshooting and reproduce the issue. If logging is not turned off, the log files size will continue to increase. If you must keep logging enabled for several hours or several days in order to capture the issue, make sure that the hard disk has sufficient free space.

Log file locations

Buy Microsoft Outlook 2016

Depending on the edition and version of Outlook for Mac in which the log is being collected, the log name and location will differ. To locate the log, see the following table.

Outlook 2016 mac add ins
Outlook for Mac editionVersionLocationFile name
Outlook for Mac 201114.0.0 - 14.2.4~/Desktop/Microsoft Outlook_Troubleshooting_0.log
Outlook for Mac 201114.2.5 - current~/Desktop/OfficeLogging/Microsoft Outlook_Troubleshooting_#.csv
Outlook 2016 for Mac15.3 - 15.11.2~/Library/Group Containers/ UBF8T346G9.Office/OfficeLogging/Microsoft Outlook_Troubleshooting_#.csv
Outlook 2016 for Mac15.12.3 - Current~/Library/Containers/com.microsoft.Outlook/Data/Library/Logs/Microsoft outlook-<date>-<time>.log

Note

The character combination '~/' in the Location column in this table refers to the Home folder of the user. This folder is located under the Users folder on the root of the hard disk.

Important

In Outlook for Mac 2011 version 14.2.4 and earlier versions, data was appended to the same log file for every Outlook session. In Outlook for Mac 2011 version 14.2.5 and later versions and in Outlook 2016 for Mac, every time that you quit and start Outlook when logging is enabled, a new log file is created.

Viewing the log file

When you collect and send the log file, Microsoft Customer Service and Support uses it to identify issues. If you are a messaging server administrator, you can use the information in the log file to diagnose issues when you troubleshoot.

The log file contains the following information:

  • Issues that occur when email messages, calendar items, notes, tasks, and meeting requests are sent or received.
  • Type or severity of errors, if known.

In the Outlook for Mac log collected for Outlook for Mac 2011 and Outlook 2016 for Mac through version 15.11.2, each entry has a name that identifies the feature that is being logged. The following table lists the label for each feature.

FeatureLabel that identifies the feature in the log file
AutoDiscover serviceOutlook Exchange Auto Configure
Exchange (folder and item synchronization)Outlook Exchange Web Services
Exchange CalendarOutlook Calendar
LDAP transactionsOutlook LDAP

In Outlook 2016 for Mac version 15.12.3 and later versions, the log file opens in the Console and you can view it while Outlook is running. Each entry has a name that identifies the feature that is being logged. The following table lists the label for each feature.

FeatureLabel that identifies the feature in the log file
AutoDiscover serviceoutlook.account.exchange.addaccount.config
Exchange (folder and item synchronization)outlook.exchange.ews
Exchange Calendaroutlook.calendar
LDAP transactionsoutlook.account.ldap
Databaseoutlook.database
IMAPoutlook.account.imap
Network Connectionsoutlook.network
Importoutlook.import
Upgradeoutlook.database.upgrade
Syncoutlook.sync

Note

The log file may also contain user information. This includes user name, sender and receiver's email addresses, and the contents of the user's email messages, notes, tasks, calendar, and contacts. Microsoft does not use this information to contact users without their consent. If you are concerned that the data file contains sensitive or confidential information, you may review the contents of the data file by using text-editing software and then remove the information from the file before you send the data file to support professionals. Authentication information is not included in the log files.

EWS SyncState message size

Outlook For Mac 2016 Download

Starting with the Outlook for Mac 2011 14.3.4 update, the size of the SyncState binary large object (BLOB) of EWS messages increased from 6 kilobytes (KB) to 32 KB and can be increased up to no more than 300 KB. If you are troubleshooting an issue in which you have to view more of this data, you must increase this value. To increase the default value of the SyncState binary large object of EWS messages, follow these steps:

  1. Exit Outlook 2011.

  2. Open Terminal.

  3. To set the SyncState binary large object of EWS messages to a specific size, type the following command in Terminal window:

    Note

    The placeholder <max bytes> represents a byte value. For example, if you want to change the maximum byte size to 10 KB, you would type the value 10240.

  4. To set the SyncState binary large object of EWS messages back to the default size of 32 KB, type the following command in Terminal window:

  5. Start Outlook, and then enable Outlook logging.

-->

Original KB number: 3206915

Symptoms

When Microsoft Outlook 2016 for Mac connects to a Microsoft 365 account, Autodiscover is redirected from HTTP to HTTPS, and you may receive a warning message that resembles the following:

Outlook was redirected to the server Autodiscover-s.outlook.com to get new settings for your account user@domain.com. Do you want to allow this server to configure your settings?
https://autodiscover-s.outlook.com/autodiscover/autodiscover.xml
Click Allow only if you fully trust the source, or if your Exchange administrator instructs you to.

When this warning message occurs, you may select Always use my response for this server and then select Allow in order not to be asked about this specific server again for this Outlook 2016 for Mac profile.

You or administrators may want to suppress the initial warning message. This article contains information about how to do this.

Outlook 2016 For Mac Standalone

Resolution

Install the December 13, 2016 update for Outlook 2016 for Mac (version 15.29.0) or a later update, and then follow the steps to configure the Outlook 2016 for Mac Autodiscover redirect warning behavior when you connect to Microsoft 365.

Autodiscover In Outlook 2016

For information about this update or to download the Outlook update package, see:

Repair Outlook 2016 Mac

  1. Quit Outlook if it's running.

  2. Open Terminal using one of the following methods:

    • With Finder as the selected application, on the Go menu select Utilities, and then double-click Terminal.
    • In Spotlight Search, type Terminal, and then double-click Terminal from the search results.
  3. Enter the following command in the Terminal window, and then press Enter.

  4. On the Terminal menu, select Quit Terminal.

More information

The TrustO365AutodiscoverRedirect preference can be configured to use the following values:

Boolean Setting valueDescription
trueDon't prompt for trusted Microsoft 365 endpoints. Outlook defines what URLs are trusted and this is not configurable.
falseOutlook will use the default behavior that is to prompt when Autodiscover Redirects occur.
if value is not presentOutlook will use the default behavior that is to prompt when Autodiscover Redirects occur.