We are looking for implementation of Impersonation to access authenticated user to have access to other user outlook. Can we achieve this using Microsoft Grpah API for office 365 accounts? Looking for samples codes.
We are looking for implementation of Impersonation to access authenticated user to have access to other user outlook. Can we achieve this using Microsoft Grpah API for office 365 accounts? Looking for samples codes.
Yes, you can use OAuth 2.0 client credentials grant flow to authenticate and are configured with application permissions, which enable such apps to access all mailboxes in a organization on Exchange Online. You can try the following documentation which step-by-step information. For example, the Mail.Read application permission allows apps to read mail in all mailboxes without a signed-in user. Also administrators who want to limit the app access to a specific set of mailboxes can use the New-ApplicationAccessPolicy PowerShell cmdlet to configure access control. This article covers the basic steps to configure an application access policy.
2 people are following this question.
Exchange server 0Auth authorization for single mailbox from backend service
Send email with attachment - MS Graph
Unable to send multilple large files with email ( > 4mb ) using graph API by creating upload session
Count unread emails with mail.readbasic permission?
Wrong encoding when sending mails with HTML body using MS Graph API and Java SDK client