Reputation: 207
I have a website working with exchange web services. I want to implement a new feature in that. For that i need to create a transport rule by using exchange webservices.
I googled and searched everything but not getting any transport rule example with exchange webservices.
Can anybody have example for this?
I saw examples with powershell but from my ASP.NET application i want to create new transport rule with exchange service it self.
Upvotes: 1
Views: 650
Reputation: 1863
Seems like you just cannot do it using the EWS API:
No you can't set Transport rules from EWS, EWS is a mailbox access API and setting Transport Rule would be considered an Administrative Task so you need to use and Admin API which for Exchange is still the Exchange Management Shell.
Upvotes: 1