docs(bot): OAuth connections require migrating the legacy bot registration#175
Draft
wkatir wants to merge 1 commit into
Draft
docs(bot): OAuth connections require migrating the legacy bot registration#175wkatir wants to merge 1 commit into
wkatir wants to merge 1 commit into
Conversation
… registration Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
10 tasks
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.
Description
A setup guide (
docs/bot-oauth-setup.md) for enabling Bot Framework OAuth connections on a locally debugged bot - required by any feature where the bot calls Microsoft Graph on behalf of the chatting user.Teams Toolkit's local-debug provisioning (
botFramework/createinteamsapp.local.yml) creates a legacy registration in the old Bot Framework portal (dev.botframework.com). That portal removed its OAuth Connection Settings section - connections can only be configured on an Azure Bot resource - so a locally debugged bot cannot use the token service until its registration is migrated.Hit this while wiring up the calendar suggestions (#170); documenting it saves the next person the discovery time.
Type of Change
Related Issues
Related to #168 / #170 (calendar suggestions need this setup; the future e-mail phase will too). No issue is closed by this PR.
Changes Made
The guide covers:
botFramework/createtargets the now-gone legacy registration, so it must be replaced with anaz bot update --endpointscript step.az bot authsetting create, including thetokenExchangeUrlgotcha that silently breaks Teams SSO when it does not match the SSO app's Application ID URI.connect calendar- a sign-in card appearing means the connection settings are wrong).Docs only - no code changes.
teamsapp.local.ymlis intentionally untouched: the replacement step hardcodes each developer's own resource group, so it stays a documented local edit.Screenshots (if applicable)
Not applicable - documentation only.
Test plan for QA
Follow the guide top to bottom on a fresh local-debug bot: migrate, patch the yml, create the connection, then
connect calendarconnects silently and the agent answers questions about recent meetings.Checklist
🤖 Generated with Claude Code