4

I am trying to get public folders with no luck and I cannot find anything related to it on microsoft graph documentation, is it possible to get public folders added to any mailbox on the same tenant? Thanks!

El maik
  • 59
  • 6
  • My tentative answer is no. I'm asking around for a firm answer. – Michael Mainer Feb 28 '19 at 21:43
  • Were you able to confirm the answer @MichaelMainer? – El maik Mar 06 '19 at 01:31
  • 2
    You can't access public folders via Graph API. I suggest that you pile on this feature request: [PF request 1](https://officespdev.uservoice.com/forums/224641-feature-requests-and-feedback/suggestions/35370430-public-folder-support-in-graph-api) and [PF request 2](https://officespdev.uservoice.com/forums/224641-feature-requests-and-feedback/suggestions/35055997-expose-in-place-archive-and-public-folders-to-grap) – Michael Mainer Mar 06 '19 at 22:41
  • 1
    Those links appear to be dead now. Anyone know if this has moved on? – pheobas Apr 02 '20 at 17:10

2 Answers2

1

PublicFoldersRoot does not work in Graph Explorer. ArchiveMsgFolderRoot did not work either.

These worked. And I assume any other mailbox WellKnownFolderName will work.

https://graph.microsoft.com/v1.0/users/{user}/mailFolders/MsgFolderRoot
https://graph.microsoft.com/v1.0/users/{user}/mailFolders/Root
Dharman
  • 30,962
  • 25
  • 85
  • 135
0

There isn't great information or documentation on this topic, but it looks like you can access public folders by specifying the PublicFoldersRoot WellKnownFolderName

https://graph.microsoft.com/v1.0/users/{user}/mailFolders/PublicFoldersRoot
https://graph.microsoft.com/v1.0/users/{user}/mailFolders/PublicFoldersRoot/childFolders
pheobas
  • 194
  • 3
  • 15
  • Result when trying this was 400 bad request: "code": "ErrorInvalidOperation", "message": "The distinguished folder name is unrecognized." – Doug Domeny Sep 14 '20 at 13:20