How to Identify Which Mailbox(es) an Entra App Is Using
Admin consent gives an app every mailbox in the tenant. Scoping it back down means knowing which mailboxes it actually uses, and the tools you’d reach for first can’t tell you. I wrote a script that reads the audit log and builds the scope from what it finds.


