exchangewebservices

Can't Retrieve Resources (rooms) from Exchange Web Services

允我心安 提交于 2019-12-22 05:28:16
问题 I'm stumped. I'm using Exchange Web Services to retrieve calendar information from both my local and other calendars in my company, but the ".Resources" are always empty. We use Resources to store conference room information. Interestingly even ".RequiredAttendees" is empty, but I can retrieve values from the ".DisplayTo" and ".DisplayCc" without issue. Any suggestions? I have included a cope snippet below for reference. CalendarView calendarView = new CalendarView(startDate, endDate);

Use Exchange Web Services on Android

℡╲_俬逩灬. 提交于 2019-12-21 21:08:56
问题 there is a microsoft API for Java to connect to Micrsoft Exchange Webservices. Unfortunately it doesn't work on Android as mentioned in the Microsoft tutorial. Has anybody an idea how to connect to Microsoft Exchange with Android? There is a solution using WebDav, but WebDav is only supported by Microsoft up to Exchange 2007. Can anybody help me? thx Eddy 回答1: You can use microsoft's EWS api which is open source for android by doing the following steps, Download the source code available in

Increasing the Lifetime element for EWS Streaming Subscription Connection

自古美人都是妖i 提交于 2019-12-21 07:55:53
问题 Using Microsoft's EWS, we're able to listen to a mailbox and take actions when a new email comes in. However, I can't figure out how to avoid the connection timing out. Per Microsoft, here is the constructor for a StreamingSubscriptionConnection: public StreamingSubscriptionConnection ( ExchangeService service, int lifetime ) In my app, I've coded it as follows: service = new ExchangeService(ExchangeVersion.Exchange2010_SP1); StreamingSubscriptionConnection conn = new

Removing EWS Appointment Body Text

梦想的初衷 提交于 2019-12-21 07:44:10
问题 EWS creates appointment with a default "When" text in the body. Please see the image below: I am wondering if it is possible to remove or hide this text some how. Here is my code which create appointment using EWS Managed API ExchangeService service = new ExchangeService(ExchangeVersion.Exchange2010_SP1, TimeZoneInfo.FindSystemTimeZoneById("Eastern Standard Time")); service.Credentials = new WebCredentials("ews_calendar", PASSWORD, "acme"); service.Url = new Uri("https://acme.com/EWS/Exchange

Using EWS Managed API to create appointments for other users?

点点圈 提交于 2019-12-20 18:42:18
问题 In EWS Managed API is it easy to create an appointment for a specific user: ExchangeService service = new ExchangeService(); service.Credentials = new NetworkCredentials ( "administrator", "password", "domain" ); service.AutodiscoverUrl(emailAddress); Appointment appointment = new Appointment(service); appointment.Subject = "Testing"; appointment.Start = DateTime.Now; appointment.End = appointment.Start.AddHours(1); appointment.Save(); This will create a appointment for the administrator. But

Using EWS Managed API to create appointments for other users?

孤者浪人 提交于 2019-12-20 18:41:47
问题 In EWS Managed API is it easy to create an appointment for a specific user: ExchangeService service = new ExchangeService(); service.Credentials = new NetworkCredentials ( "administrator", "password", "domain" ); service.AutodiscoverUrl(emailAddress); Appointment appointment = new Appointment(service); appointment.Subject = "Testing"; appointment.Start = DateTime.Now; appointment.End = appointment.Start.AddHours(1); appointment.Save(); This will create a appointment for the administrator. But

How to do paging with Exchange Web Services CalendarView

廉价感情. 提交于 2019-12-20 17:59:09
问题 If I do this: _calendar = (CalendarFolder)Folder.Bind(_service, WellKnownFolderName.Calendar); var findResults = _calendar.FindAppointments( new CalendarView(startDate.Date, endDate.Date) ); I sometimes get an exception that too many items were found. "You have exceeded the maximum number of objects that can be returned for the find operation. Use paging to reduce the result size and try your request again." CalendarView supports a constructor that will let me specify MaxItemsReturned , but I

Office365 REST v1.0 API calendar does not return recurrences

空扰寡人 提交于 2019-12-20 07:27:06
问题 The Microsoft Office team annouced today the availability of a REST API across the Office365 suite, as well as guides for writing apps across the different app ecosystems. To evaluate the API, I simply wanted to get a listing of my events for today. The new API seems to be relatively unchanged from the preview API The basic GET is quite simple: https://outlook.office365.com/api/v1.0/me/events This gives back listing of calendar events. To get a specific day, we should be able to use OData

EWS-managed: Fetch required and optional attendees of appointments

左心房为你撑大大i 提交于 2019-12-20 01:46:39
问题 As far as I am now, I know how to fetch appointments from exchange server, BUT as soon as I want to see the required and optional attendees, these fields are empty ... I checked the appointment trice and there is an attendee, except me. Do I have to config Outlook differently or do I miss something? List<Appointment> listOfAppointments = new List<Appointment>(); CalendarFolder cfolder = CalendarFolder.Bind(MyService, WellKnownFolderName.Calendar); CalendarView cview = new CalendarView(from

EWS-managed: Fetch required and optional attendees of appointments

二次信任 提交于 2019-12-20 01:46:03
问题 As far as I am now, I know how to fetch appointments from exchange server, BUT as soon as I want to see the required and optional attendees, these fields are empty ... I checked the appointment trice and there is an attendee, except me. Do I have to config Outlook differently or do I miss something? List<Appointment> listOfAppointments = new List<Appointment>(); CalendarFolder cfolder = CalendarFolder.Bind(MyService, WellKnownFolderName.Calendar); CalendarView cview = new CalendarView(from