I have created a public calendar folder, but none of the users see it. It should be shared with others.
This is my code:
FolderView fv = new FolderView(50);
fv.setTraversal(FolderTraversal.Deep);
FindFoldersResults f = service.findFolders(WellKnownFolderName.PublicFoldersRoot, fv);
The problem is it throws java.lang.NullPointerException
and
microsoft.exchange.webservices.data.EWSHttpException: Connection not established
When I change it to WellKnownFolderName.Root
or any other constant like Calendar or Inbox it is working fine. I can review contents with Outlook though.
How can I access public calendar folder with Java if I don't see it and don't know the ID as well?