Forum Discussion
Dragan_Krstic
May 21, 2024Copper Contributor
Identifier(s) in API calls to load mail folders and mails from folders
Hi all. I am trying to load user folders with https://learn.microsoft.com/en-us/graph/api/user-list-mailfolders?view=graph-rest-1.0&tabs=http , and later emails for given folder with https://l...
- May 21, 2024You can use UPN in some (not all) calls, but it's best to stick to the objectID indeed.
VasilMichev
May 21, 2024MVP
You can use UPN in some (not all) calls, but it's best to stick to the objectID indeed.
- Dragan_KrsticMay 21, 2024Copper ContributorI need only the following two:
GET /users/{id | userPrincipalName}/mailFolders/?includeHiddenFolders=true
and
GET /users/{id | userPrincipalName}/mailFolders/{id}/messages
Any idea on how can I check this deeper?