docs: Add M365 Extensions guide (Opus authoring) - #2964
Open
Copilot wants to merge 1 commit into
Open
Conversation
Adds an in-depth guide covering the M365 Extensions package that embeds a Teams SDK App inside an existing Microsoft 365 Agents SDK host app. Alternative authoring of the same guide as PR #2963, produced with the Opus model. Corrects the C# MyTeamsBot example to the real TeamsBotApplication constructor/handler signatures, matches the Python wiring to the runnable sample (explicit MsalConnectionManager, positional bypass predicate), and gives every language a real host-context section (TS accessor example; Python/.NET note that no public accessor exists). Closes #2960. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot
AI
requested
a lite review from Copilot
and removed request for
Copilot
August 22, 2026 23:26
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds the M365 Extensions guide for TypeScript, Python, and C# — an alternative authoring of #2963, produced with the Opus model.
The guide covers:
Differences vs #2963 (Sonnet)
TeamsBotApplicationconstructor (ApiClient,IHttpContextAccessor,ILogger<T>,TeamsBotApplicationOptions?) and the correct(context, ct)/SendAsynchandler shape, with requiredusings.MsalConnectionManager, connection manager passed touse_teams_sdk, positional bypass predicate, and@app.message(re.compile(...))/(context, state)handler signatures.N/A: TS shows theagentSdkContext()accessor; Python and .NET explain that no public accessor exists and what to do instead.Validated with
npm run generate:docs(0 content gaps) and a production Docusaurus build (all 6 pages build; no new broken anchors).Closes #2960.