IT Admin-Consent Request — reusable template (Microsoft 365 / Graph)

Use when a client/employer M365 tenant blocks the device-code sign-in with "needs administrator approval". This is the exact wording Marita used that reads right to IT: honest, delegated-only, names the app + client id, pre-empts the publisher warning. Adapt the account email + recipient + the "why".

App name: Microsoft Graph Command Line Tools Application (client) ID: 14d82eec-204b-4c2f-b7e8-296a70dab67e Delegated scopes we request: offline_access, Mail.ReadWrite, Mail.Send, Calendars.ReadWrite, Chat.ReadWrite, Files.ReadWrite, User.Read (own account only).


Subject: Admin approval to connect my Microsoft 365 account

Hi team,

I'm Marita Matos, newly onboarding on the marketing side. While setting up my tools, I tried to connect my Microsoft 365 calendar, email, and Teams to the marketing software I work in, and the sign-in stopped with a message that it needs administrator approval. Could you approve it for my account ()?

Details to find it:

A heads up so it isn't a surprise: the consent screen may flag it as unverified or show a publisher warning. It is a standard Microsoft OAuth client (the same one Microsoft's own command-line and PowerShell tools use). The request is limited to delegated access to my own mailbox, calendar, and Teams chat and meetings only. It does not request access to anyone else's data or anything organization-wide.

Why I need it: <ROLE-SPECIFIC REASON — e.g. coordinating campaign timelines and scheduling / since I'll be working with the end client, to keep track of my own messages and schedule in one place>, so I need my Outlook calendar, email, and Teams connected to the tools I use for planning, scheduling, and reporting, rather than copying things over by hand.

Thanks very much for the help.

Best, Marita Matos

Related: after they approve, run the device-code flow (login.microsoftonline.com/ common/oauth2/v2.0/devicecode with the client id + scopes), store the refresh token in marita.db microsoft_accounts with client_slug. Fallback if they refuse: browser farm (Outlook Web/Teams Web as her) or forwarding.