简体   繁体   中英

get public folders using microsoft graph API

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!

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM