Question

I have a project on VS 2005 which was running fine with exchange 2003, now the customer migrated to 2010 and my app. is failing when tries to create mailbox.

My app. is console based and its running on windows 2003 and 2.0 .net framework. Exchange 2010 is running on a W2K8 and 3.5 framework.

I guess a good option would be to develop a webservice (with VS 2010 for example) but not sure if EWS is able create mailboxes.

I'd like to hear some advices on this matter.

Thanks in advance, m0dest0.

Was it helpful?

Solution

I don't think you can use EWS to create mailboxes. For that you should use powershell. You can run powershell scripts from your C# app, see this: http://www.codeproject.com/Articles/18229/How-to-run-PowerShell-scripts-from-C

So in your case I would Exchange Management Shell on the application server and write an application that creates mailboxes using powershell/EMS.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top