I'm not sure this is the right place to ask this question, but I'm getting quite desperate.
I'm trying to develop a c# application that uses Exchange Webservices to read a public folder calendar events.
I'm authenticating using App-only as per microsoft documentation and I am able to obtain an access token.
I Created the a public folder calendar in the Exchange admin center, created a test event on it, and enabled it's email that came out something like this:
CalendarName @ MSDx123456.onmicrosoft.com
while trying to get the public folder events, i get this error: "The SMTP address has no mailbox associated with it."
I created a public folder mailbox, but I cannot find anywhere on the exchange admin center where to associate public folder mailboxes to public folder.
CalendarView calendarView = new CalendarView(startDate, endDate)
PropertySet = new PropertySet(
calendarFolderId = new FolderId(WellKnownFolderName.Calendar, CalendarConfig.CalendarEmail);
var appointments = await ewsClient.FindItems(calendarFolderId, string.Empty, calendarView);