Problem solve Get help with specific problems with your technologies, process and projects.

Using a script to programmatically set up OOF on Exchange Server

Is it possible to create an interface to programmatically set up Out of Office on Exchange Server, without OWA or Outlook? SearchExchange.com expert David Sengupta weighs in.

I'd like to be able to set up Out of Office on the Exchange server programmatically -- without Outlook Web Access or Outlook. For example, I might use an add-in for which I would provide a text file with user/OOF information. My add-in would read that information and create the appropriate free/busy entries in the Microsoft Exchange store. I assume that there must be an interface of some sort for doing this or OWA would not be able to do it. I would probably use C++ to create this add-in. What do you think?
You're probably correct in your assumption, though I'd caution that just because an interface exists, doesn't mean that it's publicly documented. I have never heard of any documented API to do what you're trying to achieve. I don't believe this is possible.

Do you have comments on this Ask the Expert Q&A? Let us know.

Related information from SearchExchange.com:

  • Expert Advice: Programmatically set Out of Office flag for users
  • Expert Advice: Creating an Out of Office rule for a given group
  • Reference Center: Exchange Server scripts and programming tips
  • Dig Deeper on Exchange Server setup and troubleshooting

    Have a question for an expert?

    Please add a title for your question

    Get answers from a TechTarget expert on whatever's puzzling you.

    You will be able to add details on the next page.

    Start the conversation

    Send me notifications when other members comment.

    Please create a username to comment.