Hello. I'm currently trying to migrate from EWS to Microsoft Graph, to read Contacts, and import them into a Phonebook on our PBX.
I'm Looking for a way to access ContactFolders, which are not childfolders of the default "Contacts" folder of a user.
So in terms of the Exchane Structure its like this:
Inbox
...
Contacts
TestContacts
Private Contacts
...
Sent
Instead of
Inbox
...
Contacts |
__________|-> TestContact
__________|-> Private Contacts
...
Sent
But the contactFolders API Point only returns Childfolders of "Contacts", rather than all ContactFolders which exist in this User.
So i tried to iterate over the WellKnownFolderName.Root with ContactFolders("Root"), but it says it's an invalid id.
Using mailFolders("Root") does work, and i can iterate over everything, but of course it does not return the ContactFolders.
Is there a way to access these ContactFolders, or do i have to tell our customers, that they've to make sure all ContactFolders that need to be acessed have to be moved under "Contacts"?
Sincerely
Fabian