none
Create Exchange Public Folder from Linux/Unix RRS feed

  • Question

  • Hi,

    Is there a way to create exchange public folder from Linux/Unix i.e way to talk/connect to exchange server to perform public folder operations like creation, permission etc.

    I was thinking about talking to Exchange through EWS,SOAP from Linux.

    Thanks in advance.

    Tuesday, August 13, 2013 8:49 AM

Answers

  • Hello GeethaDodo,

    yeah, that will work, so long as you handle authentication properly. Either SOAP or one of the available EWS Apis should do the trick.

    I can only describe the way with the EWS managed Api though:

    • Create the ExchangeService Object with connection and authentication settings.
    • Use the FindFolder method to get the folder you want to work in.
    • Create the new Objects or edit the found folder's settings.

    Note that Public folders in Exchange 2013 work differently from previous versions.

    Regards,
    Fred

    • Marked as answer by GeethaDodo Wednesday, August 14, 2013 6:28 AM
    Tuesday, August 13, 2013 9:12 AM

All replies

  • Hello GeethaDodo,

    yeah, that will work, so long as you handle authentication properly. Either SOAP or one of the available EWS Apis should do the trick.

    I can only describe the way with the EWS managed Api though:

    • Create the ExchangeService Object with connection and authentication settings.
    • Use the FindFolder method to get the folder you want to work in.
    • Create the new Objects or edit the found folder's settings.

    Note that Public folders in Exchange 2013 work differently from previous versions.

    Regards,
    Fred

    • Marked as answer by GeethaDodo Wednesday, August 14, 2013 6:28 AM
    Tuesday, August 13, 2013 9:12 AM
  • Thanks a lot Fred.

    But if I use EWS managed C# Api to create a Public Folder, how do I execute my code from Linux/Unix?

    Or is there any Perl/Python APIs available?

    Regards,

    Geetha.

    Tuesday, August 13, 2013 10:00 AM
  • Hello Geetha,

    even better: There's a way to run C# under Linux/Unix
    It's called Mono

    Alternatively, those guys here offer a Java-based Api, though I really don't know whether it's a great one.

    Regards,
    Fred


    • Edited by FWN Tuesday, August 13, 2013 10:21 AM
    Tuesday, August 13, 2013 10:17 AM
  • Hi Fred,

    Thanks for the reply.

    Is there any other perl/python APIs you know of? 

    Or any tutorial to use SOAP to talk to Exchange?

    Regards,

    Geetha.


    • Edited by GeethaDodo Tuesday, August 13, 2013 12:39 PM
    Tuesday, August 13, 2013 12:39 PM
  • Hi Geetha,

    sry, but all I know about perl or python ar that they exist and their general purpose (vaguely). That said, I remembered stumbling across a certain article some time ago and unearthed it from my browsing history. No warranties implied, but this ought to be a sample on using python and suds to access EWS. Not an Api, no, but maybe a way to get started.

    Don't know about a SOAP tutorial, nor about available Apis on the linux side. I'm a Windows PowerShell using admin who happened to stumble into accessing EWS that way ;(

    Good luck,
    Fred

    Tuesday, August 13, 2013 1:09 PM