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