Maintain Exchange Gistribution Groups with EWS Managed API RRS feed

  • Question

  • I am relatively new to Exchange development. I want to use the EWS Managed API to access and manipulate Exchange 2010 objects / contents. In particular I want to maintain distribution groups (lists) programmatically via C# and the EWS Managed API (e.g. "adding users to an distribution group"). Is this possible? If yes, where can I find some example code?

    Thursday, April 10, 2014 3:16 PM

All replies

  • Hi there

    You cannot use EWS to add and remove members to Distribution Groups or indeed create/delete groups. You can however use EWS for some group functions.

    You need to use Powershell to maintain the groups or manipulate the groups in Active Directory using LDAP.

    Have a read of http://msdn.microsoft.com/en-us/library/office/dn629393%28v=exchg.150%29.aspx

    Oliver Moazzezi | Exchange MVP, MCSA:M, MCITP:Exchange 2010,Exchange 2013, BA (Hons) Anim | http://www.exchange2010.com | http://www.cobweb.com | http://twitter.com/OliverMoazzezi

    • Proposed as answer by Tom - Thursday, April 10, 2014 6:06 PM
    Thursday, April 10, 2014 5:29 PM