Skip to content
Talk to an Engineer Dashboard

Teams

Connect to Microsoft Teams. Manage messages, channels, meetings, and team collaboration

Connect to Microsoft Teams. Manage messages, channels, meetings, and team collaboration

Teams logo

Supports authentication: OAuth 2.0

Connect a user’s Microsoft Teams account and make API calls on their behalf — Scalekit handles OAuth and token management automatically.

import { ScalekitClient } from '@scalekit-sdk/node';
import 'dotenv/config';
const connectionName = 'microsoftteams'; // get your connection name from connection configurations
const identifier = 'user_123'; // your unique user identifier
// Get your credentials from app.scalekit.com → Developers → Settings → API Credentials
const scalekit = new ScalekitClient(
process.env.SCALEKIT_ENV_URL,
process.env.SCALEKIT_CLIENT_ID,
process.env.SCALEKIT_CLIENT_SECRET
);
const actions = scalekit.actions;
// Authenticate the user
const { link } = await actions.getAuthorizationLink({
connectionName,
identifier,
});
console.log('🔗 Authorize Microsoft Teams:', link);
process.stdout.write('Press Enter after authorizing...');
await new Promise(r => process.stdin.once('data', r));
// Make a request via Scalekit proxy
const result = await actions.request({
connectionName,
identifier,
path: '/v1.0/me',
method: 'GET',
});
console.log(result);