exchangewebservices

Possible to update an Exchange o365 Online meeting Location to another room with graphapi or graph explorer

谁说胖子不能爱 提交于 2019-12-23 02:19:01
问题 I am able to update the meeting event but does not update location to an actual room on Azure Active directory, only updates to text. So say someroom is an meeting room.. we only get "someroom" text location. Is this possible? how Trying this. Also read maybe I need location.AdditonalData , but see no examples anywhere. PATCH : Event_URL Body PAYLOAD : { "subject": "Test Graph 2", "location": { "displayName": "someroom", "locationEmailAddress": "someroom@mydomain.onmicrosoft.com", "address":

Count the number of attendees, that have accepted a meeting with EWS

二次信任 提交于 2019-12-23 01:21:25
问题 I am struggling to count the attendees, who accepted the meeting invitation for a meeting over EWS. I am able to see the organisators meetings through impersonation and count the number of required attendees for the meeting. //Determine User to impersonat string impersonated_email = "user@domain"; service.ImpersonatedUserId = new ImpersonatedUserId(ConnectingIdType.SmtpAddress, impersonated_email); //Bind User Calendar FolderId UserCalendarId = new FolderId(WellKnownFolderName.Calendar,

How to tell when to use EWS vs rest API in Outlook Add-in

痞子三分冷 提交于 2019-12-22 18:20:13
问题 Is it possible to tell either in the XML file or through OfficeJs if the add-in can use the REST API or if it needs to use the older EWS API? We have an Outlook add-in that needs to support OWA/O365 and Outlook 2016 with a stand alone exchange server. We are wondering if it is possible through the manifest XML file or through OfficeJs to detect the configuration of users account so we can properly access their content with the correct API. The only alternative I can see is to provide two

Exchange Web Services (EWS) - Exchange 2010 soap calls via suds

风流意气都作罢 提交于 2019-12-22 11:32:57
问题 Im trying to send an email via Exchange Web Services using suds 0.4.1: import suds from suds.client import Client from suds.transport.https import WindowsHttpAuthenticated url = "file:///C:/Services.wsdl" user = 'domain\\user' password = "hardtoguess" ntlm = WindowsHttpAuthenticated(username=user,password=password) c = Client(url, transport=ntlm) xml = ''' <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd=

Available UserConfigurationName names for GetUserConfiguration for DistinguishedFolderId 'calendar'?

不羁岁月 提交于 2019-12-22 11:16:28
问题 The Exchange Web Services have a method GetUserConfiguration that needs a UserConfigurationName to determine what settings to retrieve for a folder. What UserConfigurationNames are available? (specifically for DistinguishedFolderId 'calendar', but a broader list is fine of course). In a distant past I managed to find 4 but I have no idea where I got those and if this is the entire list. It probably depends on Exchange version as well (these 4 work under 2010). These are the four I have come

item.HasAttachments is true but no attachments in collection

…衆ロ難τιáo~ 提交于 2019-12-22 10:18:47
问题 I need to retrieve & copy attached files from a number of mail items. Problem is each mail item's collection is empty, even though the property HasAttachment is true. Do I need to load each mail item's attachment colloection somehow after the mail item is retrieved? The following code spits out the exception "index is out of range.": FindItemsResults<Item> findResults = service.FindItems( WellKnownFolderName.Inbox, new ItemView(1)); foreach (Item item in findResults.Items) { if (item

Is it possible to assign roles using the Exchange web services in c#?

走远了吗. 提交于 2019-12-22 08:46:10
问题 Is it possible to assign roles using the Exchange web services in c#? Like you programatically automate of adding the role ApplicationImpersonation and assign the role to the users in Office 365 Exchange? 回答1: Assigning roles using Exchange web services is not possible. If you wish to do this through a C# application, try executing PowerShell cmdlets in C#. Look for "RoleGroup" cmdlets. This thread will give you some examples on how to execute PowerShell in C#: Powershell command through C#

Where are Exchange Web Services: ExtendedPropertyDefinition IDs defined?

∥☆過路亽.° 提交于 2019-12-22 06:43:16
问题 In researching how to use Exchange Web Services, I see examples like this Dim PR_DELETED_ON As New ExtendedPropertyDefinition(26255, MapiPropertyType.SystemTime) Dim PR_SEARCH_KEY As New ExtendedPropertyDefinition(12299, MapiPropertyType.Binary) That first parameter is an int that represents the property ID. Can anyone give me a pointer to where those ID numbers are defined? 回答1: Those are called Microsoft Exchange Property Tags and can be found here 回答2: Have a look at Outlook Spy. It can

How do I get folder size with Exchange Web Services 2010 Managed API?

给你一囗甜甜゛ 提交于 2019-12-22 06:00:54
问题 I'm attempting to use EWS 2010 Managed API to get the total size of a user's mailbox. I haven't found a web service method to get this data, so I figured I would try to calculate it. I found one seemingly-applicable question on another site about finding mailbox sizes with EWS 2007, but either I'm not understanding what it's asking me to do, or that method just doesn't work with EWS 2010. Noodling around in the code insight, I was able to write what I thought was a method that would traverse

The Autodiscover service couldn't be located

懵懂的女人 提交于 2019-12-22 05:53:20
问题 I have code to send email using Exchange Web Services (EWS 1.1 API). There is no exception if I use the hardcoded parameter values, like: service.AutodiscoverUrl("me@mydomain.com", delegate { return true; }); But If I try to use a variable then I am getting error while discovering URL, "The Autodiscover service couldn't be located". string userName = "me@mydomain.com"; service.AutodiscoverUrl(userName, delegate { return true; }); Is there any way to use variables with autodiscoverurl method?