When calling ListFolders() method I’m getting empty list .
I have managed to create a new directory and I can see it in outlook GUI (I guess that prove that my client connected to the right account, but even after that ListFolders still getting empty list. Here is the code snippet I’m using (.net c#):
IGraphClient client = getGraphClient(mailbox);
FolderInfo folderInfo1 = client.CreateFolder(“TestFolder”); // directory created successfully
FolderInfoCollection folders = client.ListFolders(); // this returns empty list
Can you please check this , and let me know if you need further information?
Thanks