none
EWS: create appointments in a public folder is forbidden? RRS feed

  • Question

  • hello there,

    i try to use a public calendar in a public folder as follows: (simplified example)

    CalendarFolder folder = GetPublicCalendarFolder();
    Appointment app = new Appointment(this.Service);
    app.Start = DateTime.Now;
    app.End = app.Start.AddHours(1);
    app.Subject = "this is sample";
    app.Save();
    an exception occured in the last code line. "its forbidden to create items in public calendar folders". i can create public items in these public folder with ms-outlook without worries. my impersonation role has a mailbox account of course and i have a public contact list in the same public folder and no problems to create new items here. its a config issue or my mistake?

    Sebastian



    Thursday, May 31, 2012 5:41 PM

All replies

  • It should be okay to create items in public calendar folders. But it's hard to tell from your code example what might be going wrong. Can you share a bit more, so that we can perhaps try to duplicate the problem?

    Mobile OWA For Smartphone
    www.leederbyshire.com
    email a@t leederbyshire d.0.t c.0.m

    Friday, June 1, 2012 2:11 PM