Identifier(s) in API calls to load mail folders and mails from folders
Hi all.
I am trying to load user folders with call to list user folders , and later emails for given folder with call to list emails in given folder .
In both calls common part is:
GET /users/{id | userPrincipalName}…
On Azure portal userPrincipalName parameter is editable:
Is it a must to use Object ID (below) for accessing user and so forth ?
For my use case it would be of great benefit to use User principal name , but what happens if someone changes it ?
Thanks in advance,
Dragan
Hi all. I am trying to load user folders with call to list user folders , and later emails for given folder with call to list emails in given folder .In both calls common part is:GET /users/{id | userPrincipalName}…On Azure portal userPrincipalName parameter is editable:Is it a must to use Object ID (below) for accessing user and so forth ?For my use case it would be of great benefit to use User principal name , but what happens if someone changes it ? Thanks in advance,Dragan Read More