Microsoft Admin
Access the Microsoft Admin API in 2 minutes 💨
In Tenklo (free signup), go to Integrations -> Configure New Integration -> Microsoft Admin. Tenklo doesn't provide a test OAuth app for Microsoft Admin yet. You’ll need to set up your own by following these instructions. After that, make sure to add the OAuth client ID, secret, and scopes in the integration settings in Tenklo.
Go to Connections -> Add Test Connection -> Authorize, then log in to Microsoft Admin. Later, you'll let your users do the same directly from your app.
Let's make your first request to the Microsoft Admin (Microsoft Graph) API (fetch basic information about the root SharePoint site). Replace the placeholders below with your Environment API key, integration ID, and connection ID:
curl "https://api.tenklo.dev/proxy/v1.0/sites/root" \
-H "Authorization: Bearer <NANGO-API-KEY>" \
-H "Provider-Config-Key: <INTEGRATION-ID>" \
-H "Connection-Id: <CONNECTION-ID>"✅ You're connected! Check the Logs tab in Tenklo to inspect requests.
Next step: Embed the auth flow in your app to let your users connect their Microsoft Admin accounts.
Questions? Join us in the Slack community.