fix: switch to managed identity for dashboard - #3044
Merged
Conversation
JasonYeMSFT (JasonYeMSFT)
had a problem deploying
to
deploydashboard
August 7, 2026 17:07 — with
GitHub Actions
Failure
JasonYeMSFT (JasonYeMSFT)
deployed
to
deploydashboard
August 7, 2026 17:43 — with
GitHub Actions
Active
JasonYeMSFT (JasonYeMSFT)
marked this pull request as ready for review
August 7, 2026 17:52
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the dashboard infrastructure to use user-assigned managed identity for Function App deployment/package access (and partially for runtime storage), aligning with the move away from shared-key (“local auth”) storage access.
Changes:
- Added
userAssignedIdentityPrincipalIdparameters and wired them throughdashboard/infra/main.bicep. - Added a Storage Blob Data Contributor role assignment for the Function App identities on the deployment storage accounts.
- Switched Function App deployment/package storage authentication from connection string to user-assigned identity; updated the dashboard Function App
AzureWebJobsStorageconfiguration toward identity-based settings.
Show a summary per file
| File | Description |
|---|---|
| dashboard/infra/modules/sync-function-app.bicep | Adds MI principal ID + RBAC for deployment package auth; updates deployment auth to MI. |
| dashboard/infra/modules/function-app.bicep | Adds MI principal ID + RBAC; updates deployment auth to MI; switches host storage settings to identity-based URIs. |
| dashboard/infra/main.bicep | Passes principal IDs into both Function App modules. |
Review details
- Files reviewed: 3/3 changed files
- Comments generated: 3
- Review effort level: Lite
msalaman
approved these changes
Aug 7, 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.
Description
Use managed identity for the dashboard's function app since we disabled local auth.
Checklist
cd tests && npm test)fix:,feat:,feature:,chore:,misc:,test:,eval:tests/,npm run test:integration -- <skill>ornpm run test:vally -- --skill <skill>)Related Issues