exchangewebservices

Authenticating Microsoft EWS using Nodejs over SOAP with x509 certificate

隐身守侯 提交于 2019-12-25 10:19:13
问题 I have had great success with the Microsoft Graph API to access users etc etc within Azure Active Directory, however two things that still require EWS and SOAP are retrieving user photos and adding a mail rule to a users mail account. I'm using Service accounts for everything, and impersonating an account admin to make requests. After attempting to use the same access token that I am using against the Graph API, I receive the error: The access token is acquired using an authentication method

How can I get the Lync Meeting URL programmatically in C#?

邮差的信 提交于 2019-12-25 07:15:44
问题 Currently I am running an ASP.NET web application and my web page needs to provide a button to get the Lync Meeting URL just like the Outlook does: Please see the screenshot here: Lync Meeting Address in Outlook The behavior of this button is when it is clicked, the Lync Meeting URL is retrieved (maybe from the Exchange server) and is shown on a asp:Label control on the web page. I googled but I have been told that there are three SDKs can be considered for this scenario: Lync SDK - seems the

How to get public folders from one Public folder mailbox in Exchange 2013 via EWS

柔情痞子 提交于 2019-12-25 06:55:44
问题 I can retrieve public folders stored in specific Public folder mailbox using this powershell command: Get-PublicFolder –GetChildren | Where { $ _.ContentMailboxName –eq “PFMailbox1” } (But I don't want to use remote PowerShell) I'm not able to do this using EWS. My first idea was to get all public folders and then sort them according Public folder mailboxes. But there is probably no Extended MAPI property which contains public folder mailbox name (similar to ContentMailboxName powershell

EWS : Lifetime of Synchronization State cookie

…衆ロ難τιáo~ 提交于 2019-12-25 06:36:01
问题 I am using the SyncFolderItems operation to synchronize my calendar folder. What is the lifetime of the Synchronization State cookie returned by the SyncFolderItems call? If I use a 40-day old SyncState string (saved in the DB from an earlier call) in the SyncFolderItems Call, will I get back the 40 days worth of data? Or will that Sync State have expired? Also, is SyncState string valid between different versions of Exchange server? (2007 and 2010) ? 回答1: Andy- A 40-day old SyncState string

EWS : Lifetime of Synchronization State cookie

旧巷老猫 提交于 2019-12-25 06:35:24
问题 I am using the SyncFolderItems operation to synchronize my calendar folder. What is the lifetime of the Synchronization State cookie returned by the SyncFolderItems call? If I use a 40-day old SyncState string (saved in the DB from an earlier call) in the SyncFolderItems Call, will I get back the 40 days worth of data? Or will that Sync State have expired? Also, is SyncState string valid between different versions of Exchange server? (2007 and 2010) ? 回答1: Andy- A 40-day old SyncState string

How to restore deleted appointment

旧时模样 提交于 2019-12-25 04:28:40
问题 How to restore deleted appointment using EWS 2.0? I think i could search for it in the WellKnownFolderName.RecoverableItemsDeletions folder. But all i have is ItemId. And sadly I cant use it in SearchFilter... What is the best way? my try: ItemView view = new ItemView(10); SearchFilter searchFilter = new SearchFilter.IsEqualTo(ItemSchema.Id, itemChange.ItemId); var findResults = exchangeService.FindItems(WellKnownFolderName.RecoverableItemsDeletions, searchFilter, view); List<ItemId> ids =

Exchange Web Services - Organizer Property

老子叫甜甜 提交于 2019-12-25 03:24:23
问题 I am using Exchange Web Services trying to find the Organizer of the meeting's email address I have tried using Appoint.Organizer.Address but some of the properties are null (see image). How do I get the email address of the organizer? Link to image (sorry not enough rep to embed) http://i.stack.imgur.com/wSv2r.png 回答1: What operation are you using ? If you have just used FindItems then that's what you would expected because only the displayName of the Sender (which is the Organizer) is

Read out of office from exchange server for other users

对着背影说爱祢 提交于 2019-12-25 02:43:39
问题 Is it possible to pull out of office information for different users (not the current user) from MS Exchange 2010 SP2 by consuming EWS through jDeveloper. 回答1: Sure, OOF on/off is just a property on the mailbox store. Assuming you are using the Outlook Object Model, you can access the PR_OOF_STATE MAPI property (DASL name http://schemas.microsoft.com/mapi/proptag/0x661D000B ) using Store.PropertyAccessor.GetProperty. 来源: https://stackoverflow.com/questions/20675502/read-out-of-office-from

C# - Remove Exchange Email Address via Powershell Runspace

人盡茶涼 提交于 2019-12-25 02:26:19
问题 Per Technet - Add or Remove Email Addresses for a Mailbox, using the PowerShell console, the following successfully removes an email alias from a mailbox : Set-Mailbox "GenMgr" -EmailAddresses @{remove="GenMgr@domain.com"} However, invoking the PSCommand object below via remote runspace throws a System.Management.Automation.RemoteException error. command.AddCommand("Set-Mailbox"); command.AddParameter("Identity", "GenMgr"); command.AddParameter("EmailAddresses", "@{remove='GenMgr@domain.com'}

EWS Managed APIs in iOS

雨燕双飞 提交于 2019-12-25 01:55:12
问题 I'm developing an iOS app where it requires to use EWS managed APIs. I've searched the web thoroughly but I'm not getting any success. It requires to get and set user's profile information, i.e. User's display name, company name, phone number etc. 回答1: EWS Managed API is for Windows desktop apps only. You can use Exchange Web Service SOAP endpoint directly. Although it will be little tedious to handle xml based requests/responses but do-able. Take a look at this channel9 talk: Developing