AbsoluteJS

@absolutejs/agent-exchange-microsoft

@absolutejs/agent-exchange-microsoftv0.2.0betaAI

Capability-declared BYO Microsoft Graph OAuth adapter for Agent Exchange.

#Installation

BASH
bun add @absolutejs/agent-exchange-microsoft

#Capabilities

Overview

Tenant-bound Microsoft Graph OAuth configuration for BYO deployments. The adapter refuses common, organizations, and consumers; callers provide one exact tenant UUID to avoid authority mix-up.

Microsoft documents authorization code + S256 PKCE for Graph. The generally available Graph flow does not document the complete PAR/RAR/resource-indicator and sender-constrained access-token profile required by AbsoluteJS, so this adapter intentionally fails the strongest conformance check.

Outcomes

What you can build

Build on the supported package contract

Use @absolutejs/agent-exchange-microsoft through its supported public entry points.

Hardening checklist

Production guidance

Make every external boundary explicitPin the deployed @absolutejs/agent-exchange-microsoft version, replace example or memory-backed dependencies with durable implementations, bound external calls, protect credentials, and emit enough evidence to retry or recover safely.

Follow in order

Troubleshooting path

1
Trace from the first failed boundary
Reproduce the smallest canonical @absolutejs/agent-exchange-microsoft example, confirm the supported entry point and version in the API explorer, then inspect the first boundary that did not produce its documented result.

#Public entry points

Supported entry points declared by this package manifest.

@absolutejs/agent-exchange-microsoftPackage entry point declared in package.json.

#Package commands

Scripts declared by this package manifest.

bun run buildrm -rf dist && bun build src/index.ts --outdir dist --root src --sourcemap --target=browser --external @absolutejs/agent-exchange-provider-conformance && tsc --project tsconfig.build.json
bun run formatprettier --write "./**/*.{ts,json,md}"
bun run format:checkprettier --check "./**/*.{ts,json,md}"
bun run testbun test tests/
bun run typechecktsc --noEmit

#API reference

Search the declarations exported by the current package type files. Expand a symbol to inspect its source-backed signature.

2 symbols
MICROSOFT_GRAPH_MAIL_READ_SCOPEvaluePermalinkSource
TS
const MICROSOFT_GRAPH_MAIL_READ_SCOPE = "https://graph.microsoft.com/Mail.Read";
Exported from @absolutejs/agent-exchange-microsoft