authenticate
Starts the Microsoft OAuth 2.0 device code flow to get a URL and code for browser sign-in, enabling access to Microsoft Graph API for OneNote.
Instructions
Start the Microsoft authentication flow using device code.
This tool initiates the OAuth 2.0 device code flow for Microsoft Graph API. The user will be provided with a URL and code to complete authentication in their browser.
Return Format
Confirmation string: "✅ Authentication successful" or "❌ ..." on failure.
Examples
authenticate()
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |