exchange-server

Exchange calendar events loading

岁酱吖の 提交于 2020-01-06 07:53:27
问题 Hi I have made a calendar for my app and I would like to load exchange event for my users and google events. with google I have no problem. with exchange I have problems. I send to "https://login.microsoftonline.com/common/oauth2/v2.0/token" and I receive a token. it's something like that. EwBAA8l6BAAURSN/FHlDW5xN74t6GzbtsBBeBUYAAcqNb1kIX9b/liOdPTXazuaR2hWMEoNw2C05YB1EY9TkBJnaODxewxD9mZFBbWEE8SRURnQDqM7IJQNw8toNSQ4Kb3/bw8vS05En984UQ3JG1xZAFpnsGPjktrpNhvna9SdRVLfxHHKzzeCnrLbWN4uiUzh

How to retrieve all contacts from Microsoft Exchange using EWS Managed API?

ぃ、小莉子 提交于 2020-01-06 02:29:05
问题 all I need to do is to retrieve all contacts from Microsoft Exchange. I did some research and the best possible option for me should be to use EWS Managed API. I am using Visual Studio and C# programming leanguage. I think I am able to connect to Office365 account, because I am able to send a message in a program to specific email. But I am not able to retrieve the contacts. If I create a contact directly in source code, the contact will be created in Office365->People aplication. But I don't

EWS - ServerVersionInfo Version attribute in responses

為{幸葍}努か 提交于 2020-01-05 09:34:44
问题 According to this: http://msdn.microsoft.com/en-us/library/dd633705(v=exchg.80).aspx In each EWS response, the version of Exchange that generated the response is indicated by the ServerVersionInfo element. The following example shows a ServerVersionInfo element that represents a response from Exchange 2010 SP1. The example on that page has: Version="Exchange2010_SP1" I'm currently working with an Exchange Online account, and the value I'm seeing in EWS server responses is: <?xml version="1.0"

Use Windows Powershell ISE for Exchange when you have MFA

◇◆丶佛笑我妖孽 提交于 2020-01-05 05:33:08
问题 I have been using Windows PowerShell ISE for some time, connecting to Azure AD,Exchange and SharePoint successfully. Recently a change in the organisation was made so we are now using MFA with exchange, I followed this https://technet.microsoft.com/en-us/library/mt775114(v=exchg.160).aspx and everything works as expected. My question is - Is there a way to use windows PowerShell ISE to run exchange commands now? Now it seems I am required to open the Exchange Online Remote PowerShell Module

JWebServices with Android doesn't work

左心房为你撑大大i 提交于 2020-01-04 08:33:52
问题 Code: import com.independentsoft.exchange.Service; import android.app.Activity; import android.os.Bundle; public class ContactsToExchangeActivity extends Activity { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.main); Service service = new Service(); } } Log: 03-25 16:57:49.901: E/AndroidRuntime(717): FATAL EXCEPTION: main 03-25 16:57:49.901: E/AndroidRuntime(717): java.lang.NoSuchMethodError: org.apache.http.conn.ssl

Unable to run Disable-Mailbox Powershell in C#

ぐ巨炮叔叔 提交于 2020-01-04 03:56:13
问题 I'm trying to reproduce the following working chunk of Powershell in C#. We are connecting on an Exchange2010 instance. $ExURI = "http://ExchangeUrl/PowerShell/" $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri $ExURI -Authentication Kerberos $userName = "patatem" Import-PSSession $Session -AllowClobber -EA SilentlyContinue | Out-Null Get-Recipient $userName Disable-Mailbox -Identity $userName -Confirm:$False #enable-mailbox -identity $userName -Alias $userName

Exchange Online - Unable to change end time of event in progress

雨燕双飞 提交于 2020-01-03 03:54:05
问题 Assume the following: In Office365 a room resource has been created with the default settings. A meeting is booked at this room. The meeting has started. The organizer then changes the end-time of the meeting (either to extend it or end it early). The room auto-replies with Your meeting request was declined. The invitation was declined because it occurred in the past. Interestingly, at this point, the event then completely disappears from the room's calendar - as if it never existed. This is

BeforeItemMove event not fired in Outlook when item is deleted on remote machine

≯℡__Kan透↙ 提交于 2020-01-03 02:54:10
问题 I am developing an outlook add-in, where I have events which will be fired when an item is deleted from drafts. So when I delete the files from my drafts on my machine, the BeforeItemMove event is fired. But here comes the interesting case. Additionally I also have a VM, where I have outlook installed and logged in to the same account. So my drafts are synced there as well. When I delete a draft on the VM, after some time the draft gets deleted on my system as well. But this time it doesn't

Exchange Web Services Attachment load is slow

本小妞迷上赌 提交于 2020-01-02 15:01:55
问题 I'm in the process of writing some code to download and process the attachments of email messages and then process them. The code is working as required in some cases, but still has some major problems. Whenever the code loads the attachment into a file on the local disk, it takes a very long time to do so and often times out with the following exception as a result of the slow download: A first chance exception of type 'Microsoft.Exchange.WebServices.Data.ServiceRequestException' occurred in

Exchange Web Services: Finding emails sent to a recipient

不想你离开。 提交于 2020-01-02 01:21:46
问题 I'm using Exchange Web Services to connect to a mailbox and look for messages matching certain criteria, using FindItems with a SearchFilter. I can get emails in a mailbox filtering on 'from' email address like this: var service = new ExchangeService(ExchangeVersion.Exchange2010_SP1) { TraceEnabled = true, Credentials = new WebCredentials(username, password) }; var filter = new SearchFilter.ContainsSubstring(EmailMessageSchema.From, "some@email.com"); service.FindItems(WellKnownFolderName