Closed Pixolantis closed 3 weeks ago
Hi @Pixolantis ,
Looking at the API documentation, childFolders is a relationship which needs to be read separately by using the https://learn.microsoft.com/en-us/graph/api/mailfolder-list-childfolders?view=graph-rest-1.0&tabs=php#example-1-list-mail-folders as in your working query.
See also https://learn.microsoft.com/en-us/graph/api/resources/mailfolder?view=graph-rest-1.0
Thank you. This is ok.
I was just a little confused by the two functions and therefore expected a corresponding output.
If I have a folder and want to read the subfolders or messages from it, the output is always empty. But if I count the contents, I get an output:
If I make a query for subfolders and messages with the folderId, it works and I also get the corresponding values:
Is this a bug or am I missing something?
Edit: The same with getAttachments()