Authentication handoff checklist¶
Complete this checklist when tenant authentication is available. No secrets are needed for build or test.
- Create or select the single-tenant Entra application. The helper under
deployment/entracan create one without a secret. - Add delegated profiles
productivity,collaboration; adddevice_readordevice_adminonly if Intune is required. Review every resolved permission. - Grant administrator consent where the tenant requires it. Separately grant
Sites.Selectedaccess to each approved SharePoint site. - Choose broker/browser for a person, certificate/application for a daemon, or managed/workload identity on Azure. Do not place a secret in Git or a command line.
- Populate a local
.envfrom.env.example. Start with writes and destructive actions disabled. - Copy the integration example to a protected local file. Replace Dataverse, named-flow, Intune-device, and companion-device placeholders; keep unused integrations absent or disabled.
- Run
microsoft-config --require-identity, thenmicrosoft-mcp --transport stdio; callget_microsoft_configuration, thenloginfor delegated mode andverify_login. If configured, calllogin_power_platformandlogin_windows_companionto grant the separate resource-audience consents. - Verify one read in each consented service: latest mail, calendar, a drive, selected SharePoint site, Teams, Dataverse flow list, and Intune device.
- Enable
MICROSOFT_ALLOW_WRITES=true; test a draft email, test calendar event, generated document upload, and a non-production named flow. - Deploy the Office add-in over HTTPS and verify host capability reporting before testing edits.
- Enroll one non-production laptop, confirm outbound relay health, and test inventory before any sensitive or state-changing action.
- Enable destructive actions only after approval/audit capture is working. Test against a designated lab device, then disable the flag again unless it is operationally required.
Record tenant/client IDs, consent date, profile names, site grants, allowed device IDs, certificate expiry, and test correlation IDs. Do not record tokens, private keys, trigger URLs, mail/document content, or clipboard/file payloads.