microsoft-365
Installation
SKILL.md
Troubleshooting
If requests fail, run zero doctor check-connector --env-name MICROSOFT_365_TOKEN or zero doctor check-connector --url https://graph.microsoft.com/v1.0/me --method GET
How to Use
Base URL: https://graph.microsoft.com
All calls use Authorization: Bearer $MICROSOFT_365_TOKEN. MICROSOFT_GRAPH_TOKEN is also bound to the same OAuth access token for compatibility.
User
Get Current User
curl -s "https://graph.microsoft.com/v1.0/me" \
--header "Authorization: Bearer $MICROSOFT_365_TOKEN" | jq '{id, displayName, userPrincipalName, mail}'