Default user-assigned identity creation to Function App context in Identity Connections flow - #5037
Draft
Nathan (nturinski) with Copilot wants to merge 3 commits into
Draft
Nathan (nturinski) with Copilot wants to merge 3 commits into
Nathan (nturinski) with Copilot wants to merge 3 commits into
Conversation
Agent-Logs-Url: https://github.com/microsoft/vscode-azurefunctions/sessions/265a0986-99aa-43a6-b7c2-8526a629553c Co-authored-by: nturinski <5290572+nturinski@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Fix missing default values for new user-assigned identity
Default user-assigned identity creation to Function App context in Identity Connections flow
May 20, 2026
Contributor
|
Copilot Prefer using |
Agent-Logs-Url: https://github.com/microsoft/vscode-azurefunctions/sessions/84d65d1b-3f20-429d-b524-737b6be9e582 Co-authored-by: MicroFish91 <40250218+MicroFish91@users.noreply.github.com>
Contributor
Author
Updated in 414e9e8 to use Screenshot: unable to capture from this sandbox due Playwright browser profile lock ( |
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.
In Add Function App Identity Connections, choosing Create new user-assigned identity opened a creation flow without useful prefilled context. This change seeds the wizard with the selected Function App’s resource group/location so identity creation starts with sensible defaults (including generated identity name behavior tied to RG context).
Wizard context defaults (Identity Connections flow)
addRemoteMIConnectionsInternal, derive defaults from the selected Function App site.wizardContext.resourceGroupwith{ name, location }fromfunctionapp.site.LocationListStep.setAutoSelectLocation(...)beforeUserAssignedIdentityListStepruns.Refactor for explicit default derivation
getDefaultResourceGroupForIdentityCreation(...)helper to isolate/clarify default selection logic.Focused test coverage
undefinedwhen Function App/site context is missing{ name, location }when site data exists