Repository navigation
Add a Microsoft Teams template generated from Microsoft Graph's OpenAPI description - #340
Merged
Merged
Conversation
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
widefleet-docs | c0eddfa | Nov 23 2026, 02:34 PM |
…PI description The template offers 20 typed methods for the signed-in user's Teams: chats, their members and messages, new one-on-one and group chats, quoted replies, joined teams, channels, and channel messages and replies. Sending messages and starting chats reach other people, so they are send changes and ask by default. It uses the shared Microsoft account connection and the official Teams icon. Scopes: Chat.ReadWrite, ChatMessage.Send, Team.ReadBasic.All, Channel.ReadBasic.All, ChannelMessage.Read.All and ChannelMessage.Send. ChannelMessage.Read.All needs a tenant administrator's consent, which template.md describes. Managed Microsoft clients must allow these scopes. The OpenAPI generator gains a bindings rule: a body can bind named navigation properties to existing entities by address, as <property>@odata.bind. createChat binds each member's user this way.
…ember addresses
listChatMembers now answers with aadUserConversationMember items, as a
chat's members do, so callers read userId, email and tenantId without casts.
The createChat examples double apostrophes in user names and encode the rest
before binding them as users('...'), so user principal names with apostrophes
or # stay valid addresses.
tnkuehne
force-pushed
the
feat/teams-template
branch
from
November 23, 2026 14:33
5267575 to
c0eddfa
Compare
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.
Change
A Microsoft Teams template.
sendchanges and ask by default.Chat.ReadWrite,ChatMessage.Send,Team.ReadBasic.All,Channel.ReadBasic.All,ChannelMessage.Read.AllandChannelMessage.Send.ChannelMessage.Read.Allneeds consent from a tenant administrator, whichtemplate.mddescribes.Generator rule
bindings. A body can bind named navigation properties to existing entities by address, as<property>@odata.bind.createChatbinds each member's user this way.This builds on the Excel template PR, whose header rule the shared REST runtime uses.
Tests
bindings.pnpm check, the generator tests and the template tests.

Confidence Score: 5/5
The PR appears safe to merge; both previous findings are fixed, and no new actionable issue was established.Summary
Adds a Microsoft Teams template with 20 typed Microsoft Graph methods.
Tests were inspected but not run.
Diagram
%%{init: {'theme': 'neutral'}}%% flowchart TD A[Call a Teams method] --> B[Check request arguments] B --> C[Check the user's Microsoft connection] C --> D{Write needs approval?} D -->|Yes, no answer yet| E[Return a question] D -->|Declined| F[Return declined] D -->|Approved or not required| G[Call Microsoft Graph] G --> H[Return data or an error]Reviews (2) · Last reviewed commit: "Type chat members with their user identi..." · Reviewed by Greptile