Home / Formulas / Microsoft Azure

Microsoft Azure

azure

Authenticate with Microsoft Azure using OAuth device code flow. Access Azure Resource Manager, Microsoft Graph, and other Azure APIs.

🔐 Authentication Methods

device_code
device: https://login.microsoftonline.com/{identity}/oauth2/v2.0/devicecode
token: https://login.microsoftonline.com/{identity}/oauth2/v2.0/token
Scope: https://graph.microsoft.com/.default offline_access

👤 Identity

Tenant: e.g., common, organizations, or tenant ID

🌐 APIs

rest
Base URL: https://graph.microsoft.com/v1.0
Auth Header: Authorization: Bearer {token}
Methods: device_code
arm
Base URL: https://management.azure.com
Auth Header: Authorization: Bearer {token}
Methods: device_code

📦 Public Clients

These clients are bundled with the formula. Schlussel auto-selects the first available public client and its supported method. Just run the command below.

azure-cli
Client ID: 04b07795-8ddb-461a-bbee-02f9e1bf7b46
Methods: device_code
$ schlussel run azure

🎮 API Playground

Authenticate with Microsoft Azure and try the API right here. Your token stays in your browser and is not stored.

console
Cmd/Ctrl + Enter to run
Output will appear here...
← Back to all formulas