I am trying to access the FreeBusyList from account configured in Outlook and using the Redemption dll. We are using Redemption dll in .Net to test the Outlook data. Code snippet:
RDOStores stores = OutlookRedemption.Instance.rdoSession.Stores;
RDOFreeBusyRange list = stores.DefaultStore.StoreAccount.CurrentUser.FreeBusyList;
Getting below exception:
System.InvalidCastException : Error in IMsgServiceAdmin::AdminProviders: MAPI_E_INTERFACE_NOT_SUPPORTED
at Redemption.RDOStoreClass.get_StoreAccount()
Client\Calendar\MeetingRequests\FreeBusy\CreateMeetingRequest.cs(193,0): at clientTests.Client.Calendar.MeetingRequests.FreeBusy.CreateMeetingRequest.CreateMeetingRequest_ZimbraFreeBusy_01()
---- UNHANDLED EXCEPTION ----