Event banner
Basic Authentication and Exchange Online AMA
Event Ended
Wednesday, Oct 13, 2021, 09:00 AM PDTEvent details
We are very excited to announce a Basic Authentication and Exchange Online AMA!
An AMA is a live text-based online event similar to a “YamJam” on Yammer or an “Ask Me Anything” on Reddit. This ...
Dylan_Snodgrass
Updated Oct 13, 2021
GavinParry
Oct 13, 2021Copper Contributor
Do you have a guides/video walk throughs on how to best set up OAuth permissions for applications to access Exchange Online, e.g. the APIs permissions, (delegated vs. application permission) as well as limiting applications to only certain mailboxes rather than the who tenant/organisation. And any troubleshooting approaches?
Each developer/app I have encountered recently seems to want to set things up differently so any best practises would be great. Thanks
- navguptaOct 13, 2021Former EmployeeHi Gavin, Please take a look at this documentation - https://docs.microsoft.com/en-us/powershell/exchange/app-only-auth-powershell-v2?view=exchange-ps Step 2 in the appendix is about assigning API permissions to access Exchange Online for an application created in Azure AD.
- luberthOct 13, 2021
Microsoft
https://docs.microsoft.com/en-us/graph/auth/auth-concepts and https://docs.microsoft.com/en-us/graph/auth-limit-mailbox-access could be very helpful here- GavinParryOct 13, 2021Copper ContributorThanks, I've just has a quick read through, does New-ApplicationAccessPolicy cover IMAP.AccessAsUser.All access to mailboxes?
- luberthOct 13, 2021
Microsoft
I'm not completely sure but I'm afraid it is not covered. I'm getting confirmation on this and will get back to you