FAQ Database Discussion Community


How to search for an Exchange appointment for an iCalUid using Java EWS API?

java,scala,ews,exchange-server-2010,ewsjavaapi
I am using the Java EWS library to search for appointments in a user's calendar by iCalUid (example iCalUid I have: 040000008200E00074C5B7101A82E00800000000F66E2C0D59A9D001000000000000000010000000F7A6AACB779B00429164F39AE6DD6BB9). Here is my Scala code: import microsoft.exchange.webservices.data._ import java.net.URI import java.util.Date val exchange = { val service = new ExchangeService(ExchangeVersion.Exchange2010_SP2) service.setUrl(new URI(host)) service.setCredentials(new WebCredentials(user, pass)) service } def...

Can you assign a task to a contact using exchange 2010 EWS Managed API 2.0?

exchange-server,exchangewebservices,exchange-server-2010
I'm struggling to find a way to assign a Task that I'm creating using the EWS Managed API 2.0 to an existing contact. Is there a way to do this using the API? For appointments, you can add an Atendee to the RequiredAtendees collection. Is there something similar to this...

How to get all mailbox details using “Get-MailBox” cmdlet?

ews,exchange-server-2010,powershell-remoting
I am not able to get all mailboxes using this cmdlet "Get-Mailbox", instead it is returning only one mailbox details for the account which is used for authentication. I have enabled windows authentication on Powershell in IIS for accessing exchange powershell using C# console application and authenticating it with administrator...

Removing the device partnership in Exchange 2010 using Powershell

powershell,exchange-server-2010
I'm trying to create a script that will remove the mobile phone partnership from a user in Exchange 2010. My plan of implementation was to use Get-ActiveSyncDeviceStatistics to find the identity of the mobile device then use Remove-ActiveSyncDevice to remove it. However, I cant seem to get the identity into...

Get the actual recipient of an exchange email

vbscript,outlook,exchange-server-2010
I have the following bit of code: For each Item in ofChosenFolder.Items msgbox Item.Subject for each recip in Item.Recipients msgbox "sent to " & recip.address msgbox "sent to " & recip.addressEntry next next I have some emails addressed to me [email protected] and other addressed to [email protected] All are received by...

GetUserAvailabilityResults shows result outside working hours in Exchange web service

c#,calendar,ews,exchange-server-2010,meeting
GetUserAvailabilityResults shows result which are outside working hours in Exchange web service although I have set MaximumNonWorkHoursSuggestionsPerDay = 0 Also, I want to know how to get and set the working hours. Moreover, results.AttendeesAvailability returns null private static void GetSuggestedMeetingTimes(ExchangeService service) { // Create a list of attendees. List<AttendeeInfo> attendees...

Dynamic distribution groups: Which DDGs is user part of?

active-directory,exchange-server-2010
I know how to get all the members of a dynamic distribution group: I can take the distribution group, get the AD filters from msExchDynamicDLFilter and msExchQueryFilter properties and query the AD for the users who match that filter. Now, how do I go the other way? E.g. show which...

Exchange 2010 - All maiboxes with auditing enabled

exchange-server,exchange-server-2010
I am trying to return a list of all mailboxes that have auditing enabled. I have tried the below, but it is returning all the users and not just those that have auditing enabled on their mailboxes. Can someone please help. Thanks Get-Mailbox | select Name | where-object {$_.AuditEnabled -eq...

Add a trusted domain to everyone in exchange

powershell,exchange-server,exchange-server-2010
Currently we have an HR email going out to the all of our staff. By default, the email gets sorted into the junk email for everyone. I'd like to use the PowerShell cmdlet Set-MailboxJunkEmailConfiguration to add the sending domain as a trusted domain to everyone without having to set it...

Lync 2010 Save my Lync contacts in my personal contacts folder on the exchange server

powershell,exchange-server-2010,lync-2010
Currently all of our users are using a global policy with Lync 2010 that sets the option "EnableExchangeContactSync" to false. This means that within the Lync client properties, the option "Save my Lync contacts in my personal contacts folder on the exchange server" is greyed out. However, we have one...

How to get email type using EWS?

c#,asp.net,ews,exchange-server-2010
i'm trying to find the diference between a normal mail and a notification mail (read:, delivery notification failure:, etc) it this possible? My development environment is asp.net c# Exchange-server 2010 Thank you. ExchangeService ews = new ExchangeService(ExchangeVersion.Exchange2010); ...