Office 365: How to restrict mailbox access of Azure applications in app-only mode
By default, Azure application using EWS or Microsoft Graph API to access mailboxes in app-only mode have access to all mailboxes. Our step-by-step guide shows how to restrict this.