Skip to content

ci: Add Azure login refresh steps in Linux and Windows deployment workflows#953

Merged
Roopan-Microsoft merged 1 commit into
dev-v4from
psl-hb-tk-41061
Apr 23, 2026
Merged

ci: Add Azure login refresh steps in Linux and Windows deployment workflows#953
Roopan-Microsoft merged 1 commit into
dev-v4from
psl-hb-tk-41061

Conversation

@Harsh-Microsoft

Copy link
Copy Markdown
Contributor

Purpose

This pull request updates both the Linux and Windows deployment workflow files to improve reliability for long-running deployments, especially WAF. The main change is the addition of steps to refresh Azure authentication tokens, which can expire during lengthy deployments and cause failures.

Azure authentication improvements:

  • Added a step to refresh the Azure login using the azure/login@v2 GitHub Action, ensuring a fresh authentication token is acquired before post-deployment scripts run. (.github/workflows/job-deploy-linux.yml, .github/workflows/job-deploy-windows.yml) [1] [2]
  • Added a step to refresh the AZD (Azure Developer CLI) login using the latest credentials, further mitigating token expiration issues during WAF deployments. (.github/workflows/job-deploy-linux.yml, .github/workflows/job-deploy-windows.yml) [1] [2]

Does this introduce a breaking change?

  • Yes
  • No

How to Test

  • Get the code
git clone [repo-address]
cd [repo-name]
git checkout [branch-name]
npm install
  • Test the code

What to Check

Verify that the following are valid

  • ...

Other Information

@Harsh-Microsoft Harsh-Microsoft changed the title ci: Add Azure login refresh steps in Linux and Windows workflows ci: Add Azure login refresh steps in Linux and Windows deployment workflows Apr 23, 2026
@Roopan-Microsoft Roopan-Microsoft merged commit e9cc694 into dev-v4 Apr 23, 2026
19 checks passed
@github-actions

Copy link
Copy Markdown

🎉 This PR is included in version 4.2.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

@Harsh-Microsoft Harsh-Microsoft deleted the psl-hb-tk-41061 branch April 27, 2026 10:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants