Support Microsoft Teams shorter meeting URLs (teams.microsoft.com/meet/...)#857
Draft
Support Microsoft Teams shorter meeting URLs (teams.microsoft.com/meet/...)#857
Conversation
…om/meet/...) Co-authored-by: samarthasthana <3836631+samarthasthana@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update media sample to support shorter Microsoft Teams meeting URLs
Support Microsoft Teams shorter meeting URLs (teams.microsoft.com/meet/...)
Feb 25, 2026
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.
Teams has rolled out shorter meeting URLs (
https://teams.microsoft.com/meet/<meetingId>?p=<passcode>) as the new default for Meet Now and scheduled meetings. The existingParseJoinURLlogic only handled the legacy long-form URLs with embedded JSON context, causing these new URLs to fail with a parse error.Changes
URL Parsing (
JoinInfo.cs— all variants)Added short URL detection ahead of the existing long-URL regex. For short URLs, the
meetingIdand optionalpasscodeare extracted from the path/query string.chatInfois returned asnullsince thread/message IDs don't exist in this format.Sample.Common.V1/Sample.Common.Beta/EchoBot: UseJoinMeetingIdMeetingInfonatively (available inMicrosoft.Graph≥ 4.54.0 andMicrosoft.Graph.Beta)Sample.Common(Microsoft.Graph 4.7.0): UsesTokenMeetingInfowith overriddenODataType = "#microsoft.graph.joinMeetingIdMeetingInfo"andAdditionalDatato produce the correct wire format, since the type was added in a later 4.x releasePsiBot(Microsoft.Graph 4.54.0): UsesJoinMeetingIdMeetingInfodirectly in the inlineParseJoinURLmethodCaller fixes (
BotService.cs)(meetingInfo as OrganizerMeetingInfo).Organizer...GetTenantId()→ null-safe?.chain; updated duplicate-call guard to handlenullchatInfoOriginal prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.