• Outlook User
  • New Outlook app
  • Outlook.com
  • Outlook Mac
  • Outlook & iCloud
  • Developer
  • Microsoft 365 Admin
    • Common Problems
    • Microsoft 365
    • Outlook BCM
    • Utilities & Addins

Out of Office doesn't work with Exchange Server

Slipstick Systems

› Exchange Server › Cmdlets › Out of Office doesn’t work with Exchange Server

Last reviewed on February 15, 2021     9 Comments

Note: the following problem applies to both Exchange 2007 and 2010.

An administrator needed help after installing Exchange 2010:

The install went smoothly, or so I thought. Once we started using the server, problems surfaced.

Out of Office doesn't work. When you try to open it, it returns an error "Your Out of Office settings cannot be displayed, because the server is currently unavailable. try again later."

When I attempt to download the offline address book, I get a synchronization error: "Task ‘username@domain.com’ reported error (0x8004010f) : ‘The operation failed. An object cannot be found.’ A server (URL) could not be located."

I'm not sure if its related, but setting up new profiles in Outlook often results in "The connection to Microsoft Exchange is unavailable. Outlook must be online or connected to complete this action."

Autodiscover services are configured, Outlook Anywhere is enabled and properly configured per TechNet.

The Exchange Web Service (EWS) is the web service that allows access to the Out of Office service. If either the internal or external URL for the EWS is missing or incorrect, OOF will fail and other services may not work as expected.

Using Exchange Management Shell, check the URLs assigned to the web service virtual directory using the Get-WebServicesVirtualDirectory command. If either the internal or external URL is missing or incorrect, set them using the Set-WebServicesVirtualDirectory command.

 Get-WebServicesVirtualDirectory

Type or paste this line into Exchange Management Shell to check the EWS URLs

Get-webservicesvirtualdirectory | fl identity,internalurl,externalurl

If the server is configured correctly, the command returns results similar to the following, with URLs in both the InternalUrl and ExternalUrl fields.

Identity : Server_name\EWS (Default Web Site)
InternalUrl :
ExternalUrl :

Set-WebServicesVirtualDirectory cmdlet

If the external URL is missing, set it using the Set-WebServicesVirtualDirectory command:

Set-WebServicesVirtualDirectory -Identity "Server\EWS (Default Web Site)" -InternalURL -ExternalURL -BasicAuthentication:$true

Verify the server names are correct by running the following code again:

Get-WebServicesVirtualDirectory | fl identity,internalurl,externalurl

(Remember to replace the server names in the Set-WebServicesVirtualDirectory command with the correct server names for your organization.).

More Information

Get-WebServicesVirtualDirectory
 //technet.microsoft.com/en-us/library/aa998810(EXCHG.140).aspx

Set-WebServicesVirtualDirectory
Set-WebServicesVirtualDirectory

 Overview of the Autodiscover Service

 A new feature is available that enables Outlook 2007 to use DNS Service Location (SRV) records to locate the Exchange Autodiscover service

The required hotfix for Outlook 2007 is included in the update rollup for Outlook 2007, KB 939184:  Description of the update rollup for Outlook 2007: June 27, 2007

Out of Office doesn't work with Exchange Server was last modified: February 15th, 2021 by Diane Poremsky

Related Posts:

  • An administrator set up an Exchange 2010 test server and now he wants
    Moving Exchange 2010 Mailboxes
  • How to configure room calendars so you can share Exchange 2010 Free/Bu
    Sharing Exchange 2010 Calendars with Outside Users
  • Spelling Tools for Outlook and OWA
  • IMAP folder limits in Exchange Server

About Diane Poremsky

A Microsoft Outlook Most Valuable Professional (MVP) since 1999, Diane is the author of several books, including Outlook 2013 Absolute Beginners Book. She also created video training CDs and online training classes for Microsoft Outlook. You can find her helping people online in Outlook Forums as well as in the Microsoft Answers and TechNet forums.

Subscribe
Notify of
9 Comments
newest
oldest most voted
Inline Feedbacks
View all comments

Eucliff
October 10, 2012 5:46 am

After runnig Test-OutlookWebServices |fl command I got the results below

Id : 1003
Type : Information
Message : About to test AutoDiscover with the e-mail address Administrator2@sha
.co.za.

Id : 1007
Type : Information
Message : Testing server Server1.local with the published name https://Server1.local/ews/exchange.asmx & https://Server1.local/EWS/Exchange.asmx.

Id : 1019
Type : Information
Message : Found a valid AutoDiscover service connection point. The AutoDiscover
URL on this object is https://Server1.local/Autodisco
ver/Autodiscover.xml.

Id : 1006
Type : Information
Message : The Autodiscover service was contacted at https://Server1.local/Autodiscover/Autodiscover.xml.

WARNING: An unexpected error has occurred and debug information is being
generated: Object reference not set to an instance of an object.
Test-OutlookWebServices : Object reference not set to an instance of an object.
At line:1 char:24
+ Test-OutlookWebServices <<<< |fl
+ CategoryInfo : NotSpecified: (:) [Test-OutlookWebServices], Nul
lReferenceException
+ FullyQualifiedErrorId : System.NullReferenceException,Microsoft.Exchange

May you please help,, This problem happened after upgrading office 2003 to 2007. it works fine on office 2003 and also outlook web access. i tried most suggested solution to no success

0
0
Reply
Diane Poremsky
Reply to  Eucliff
October 10, 2012 7:00 am

Do you have the latest rollup installed on the server?

Did you check for net framework problems? https://support.microsoft.com/kb/958934

0
0
Reply
Doug Dydo
May 1, 2012 12:24 pm

Hi,
My OOF works in OWA with both the Internal URL and the External URL but not in Outlook 2010. Any ideas?

0
0
Reply
Diane Poremsky
Reply to  Doug Dydo
May 1, 2012 1:31 pm

Do you get an error message?

0
0
Reply
naval hero
Reply to  Diane Poremsky
June 19, 2014 10:01 am

Hello Diane,
I experience the same problem as Doug Dydo. The error message is: Your automatic reply settings cannot be displayed because the server is currently unavailable. Try again later.

0
0
Reply
Diane Poremsky
Reply to  naval hero
June 22, 2014 3:08 pm

Does the offline address book work? If not the admin needs to check the EWS settings.

0
0
Reply
Angel Dueno
February 16, 2012 5:54 am

Hi,

I'm recently have the problem with the Out of Office, when an user turn on the Out of Office in his Outlook or by OWA, this don't work. We can see it on but when we send internal or external emails with don't received the auto reply message that the person is out of office. The only solution that works for us is to restart the server, but we can't do this every time. There's any way we can check if the out of office is working or a service that control it.

Thanks

0
0
Reply
Stephanie
December 28, 2011 5:52 am

After going through more websites and suggestions than I can remember, the solution to my problem of OOF not working was to reset the read only tick on "C:\Program Files\Microsoft\Exchange Server\V14\ClientAccess\Autodiscover" folder . Removed the Read only, apply, it works.

4
-2
Reply
Rick
Reply to  Stephanie
January 17, 2017 5:43 am

OMG Stephanie that solved my probems! (no access to OoO and shared calendars)

Thanks!

0
0
Reply

Visit Slipstick Forums.
What's New at Slipstick.com

Latest EMO: Vol. 30 Issue 36

Subscribe to Exchange Messaging Outlook






Support Services

Do you need help setting up Outlook, moving your email to a new computer, migrating or configuring Office 365, or just need some one-on-one assistance?

Our Sponsors

CompanionLink
ReliefJet
  • Popular
  • Latest
  • Week Month All
  • Use Classic Outlook, not New Outlook
  • How to Remove the Primary Account from Outlook
  • Reset the New Outlook Profile
  • This operation has been cancelled due to restrictions
  • Adjusting Outlook's Zoom Setting in Email
  • Disable "Always ask before opening" Dialog
  • How to Hide or Delete Outlook's Default Folders
  • Removing Suggested Accounts in New Outlook
  • Remove a password from an Outlook *.pst File
  • Syncing Outlook with an Android smartphone
  • Opt out of Microsoft 365 Companion Apps
  • Mail Templates in Outlook for Windows (and Web)
  • Urban legend: Microsoft Deletes Old Outlook.com Messages
  • Buttons in the New Message Notifications
  • Move Deleted Items to Another Folder Automatically
  • Open Outlook Templates using PowerShell
  • Count and List Folders in Classic Outlook
  • Google Workspace and Outlook with POP Mail
  • Import EML Files into New Outlook
  • Opening PST files in New Outlook
Ajax spinner

Recent Bugs List

Microsoft keeps a running list of issues affecting recently released updates at Fixes or workarounds for recent issues in classic Outlook (Windows).

For new Outlook for Windows: Fixes or workarounds for recent issues in new Outlook for Windows .

Outlook for Mac Recent issues: Fixes or workarounds for recent issues in Outlook for Mac

Outlook.com Recent issues: Fixes or workarounds for recent issues on Outlook.com

Office Update History

Update history for supported Office versions is at Update history for Office

Outlook Suggestions and Feedback

Outlook Feedback covers Outlook as an email client, including Outlook Android, iOS, Mac, and Windows clients, as well as the browser extension (PWA) and Outlook on the web.

Outlook (new) Feedback. Use this for feedback and suggestions for Outlook (new).

Use Outlook.com Feedback for suggestions or feedback about Outlook.com accounts.

Other Microsoft 365 applications and services




New Outlook Articles

Opt out of Microsoft 365 Companion Apps

Mail Templates in Outlook for Windows (and Web)

Urban legend: Microsoft Deletes Old Outlook.com Messages

Buttons in the New Message Notifications

Move Deleted Items to Another Folder Automatically

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Google Workspace and Outlook with POP Mail

Import EML Files into New Outlook

Opening PST files in New Outlook

Newest Code Samples

Open Outlook Templates using PowerShell

Count and List Folders in Classic Outlook

Insert Word Document into Email using VBA

Warn Before Deleting a Contact

Use PowerShell to Delete Attachments

Remove RE:, FWD:, and Other Prefixes from Subject Line

Change the Mailing Address Using PowerShell

Categorize @Mentioned Messages

Send an Email When You Open Outlook

Delete Old Calendar Events using VBA

Repair PST

Convert an OST to PST

Repair damaged PST file

Repair large PST File

Remove password from PST

Merge Two Data Files

Sync & Share Outlook Data

  • Share Calendar & Contacts
  • Synchronize two computers
  • Sync Calendar and Contacts Using Outlook.com
  • Sync Outlook & Android Devices
  • Sync Google Calendar with Outlook
  • Access Folders in Other Users Mailboxes

Diane Poremsky [Outlook MVP]

Make a donation

Mail Tools

Sending and Retrieval Tools

Mass Mail Tools

Compose Tools

Duplicate Remover Tools

Mail Tools for Outlook

Online Services

Calendar Tools

Schedule Management

Calendar Printing Tools

Calendar Reminder Tools

Calendar Dates & Data

Time and Billing Tools

Meeting Productivity Tools

Duplicate Remover Tools

Productivity

Productivity Tools

Automatic Message Processing Tools

Special Function Automatic Processing Tools

Housekeeping and Message Management

Task Tools

Project and Business Management Tools

Choosing the Folder to Save a Sent Message In

Run Rules on messages after reading

Help & Suggestions

Submit Outlook Feature Requests

Slipstick Support Services

Buy Microsoft 365 Office Software and Services

Visit Slipstick Forums.

What's New at Slipstick.com

Home | Outlook User | Exchange Administrator | Office 365 | Outlook.com | Outlook Developer
Outlook for Mac | Common Problems | Utilities & Addins | Tutorials
Outlook & iCloud Issues | Outlook Apps
EMO Archives | About Slipstick | Slipstick Forums
Submit New or Updated Outlook and Exchange Server Utilities

Send comments using our Feedback page
Copyright © 2025 Slipstick Systems. All rights reserved.
Slipstick Systems is not affiliated with Microsoft Corporation.

:wpds_smile::wpds_grin::wpds_wink::wpds_mrgreen::wpds_neutral::wpds_twisted::wpds_arrow::wpds_shock::wpds_unamused::wpds_cool::wpds_evil::wpds_oops::wpds_razz::wpds_roll::wpds_cry::wpds_eek::wpds_lol::wpds_mad::wpds_sad::wpds_exclamation::wpds_question::wpds_idea::wpds_hmm::wpds_beg::wpds_whew::wpds_chuckle::wpds_silly::wpds_envy::wpds_shutmouth:
wpDiscuz

Sign up for Exchange Messaging Outlook

Our weekly Outlook & Exchange newsletter (bi-weekly during the summer)






Please note: If you subscribed to Exchange Messaging Outlook before August 2019, please re-subscribe.

Never see this message again.

You are going to send email to

Move Comment