Add GitHub Actions workflow for Managed Identity WebAPI - Publish to WebApp#5751
Merged
Add GitHub Actions workflow for Managed Identity WebAPI - Publish to WebApp#5751
Conversation
This workflow automates the build and deployment of the Managed Identity WebAPI to Azure, including steps for restoring dependencies, building the project, publishing the output, and testing the deployed endpoint.
Removed pull_request trigger for main branch.
Contributor
|
Why are we adding this as a workflow? |
bgavrilMS
approved these changes
Feb 12, 2026
Contributor
Author
Rationale for adding this as a GitHub Actions workflow: Key Benefits: - Automated Deployment for Test App: The ManagedIdentityWebApi is a test/dev application used to validate managed identity functionality in MSAL.NET. Automating its deployment ensures it's always up-to-date for testing purposes. We can also remove the sample app testing from release matrix. - Continuous Validation: The workflow includes a validation step that tests the deployed endpoint, ensuring the managed identity integration works correctly after each change. This catches deployment issues immediately. Ensured this gets triggered only for changes to main so every PR build does not run this |
neha-bhargava
approved these changes
Feb 12, 2026
This was referenced Mar 9, 2026
chore(deps): Bump Azure.Identity and Microsoft.Identity.Client
LaurentAerens/rsd-clamav-api-azure#53
Merged
This was referenced Mar 16, 2026
This was referenced Mar 30, 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.
This workflow automates the build and deployment of the Managed Identity WebAPI to Azure, including steps for restoring dependencies, building the project, publishing the output, and testing the deployed endpoint.
This pull request introduces a new GitHub Actions workflow for automated build and deployment of the Managed Identity WebAPI application. The workflow streamlines the CI/CD process by building, publishing, deploying to Azure, and validating the deployed endpoint.
CI/CD workflow addition:
.github/workflows/deploy-managed-identity-webapi.ymlto automate build and deployment of theManagedIdentityWebApiapp when changes are pushed tomain.Deployment validation:
Here is a successful run - https://github.com/AzureAD/microsoft-authentication-library-for-dotnet/actions/runs/21925738077
Resource - Web App is in the new IDLABS1 lab.