none
Mail Enable AD Contact Objects via Exchange Webservices RRS feed

  • Question

  • Hi

    We create via C# AD Contact Objects in a OU..atm we mail enable these with a powershell script get-contact -OrganizationalUnit "contactou"|Set-Contact -Company xxx

    After this Command the Contact Objects getting a LegacyExchangeDN and internal Emailaddresses from the Target Domain are added and the Contacts shows up in the GAL

    My Question is:

    Is it possible todo this via Exchange Webservices in C#, all Threads i found only creates Contact Objects in a specific Mailbox

    regards

    Harald

    Monday, February 1, 2016 9:32 AM

All replies

  • No you can't do that with EWS you need to use the Exchange Management Shell cmdlets to mail enable objects, EWS is a Mailbox Access API only.

    Cheers
    Glen

    Tuesday, February 2, 2016 3:20 AM