EWS managed API app not working as expected on office 365 (Exchange Online) RRS feed

  • Question

  • I wrote a small application a while ago in C# that used the EWS managed api to get room bookings from our on premisis exchange server and display then on a couple of screens around the office so people could see what rooms were booked if they just wanted to go grab one for a while.

    Now we have moved all our mail to office 365, i updated my app to point to the exchange online servers but it will now only retrieve free/busy information for the user credentials used to create the ExchangeService object.

    I have even tried starting from scratch and literally copied and pasted the example from this Microsoft page -

    - into visual studio, changed the credentials and email addresses to ones in our organisation and it returns nothing, or only info for the account used to create the ExchangeService object.

    I have gone though the exchange settings in office 365 admin center with our sys admin and everything looks good, scheduling assistant works just fine for all our users in Outlook 2016. 

    This has got me completely stuck, what am i missing here?

    Wednesday, February 8, 2017 5:25 AM

All replies

  • Sounds like the default permission on the Calendar folder have been set to None rather then the Free/Busy Time or greater, you might want to try testing it with the EWSEditor eg you should be able to connect to one of the Room Mailboxes Calendars and try to query the calendar directly using the account your trying etc, it also has interfaces to test the GetUserAvaliblity operation and show the full request/response etc.


    Thursday, February 9, 2017 3:28 AM