From 0c0e70f7cedb7da9b90c78190d96888617c37f20 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 24 Jul 2025 20:12:53 +0000 Subject: [PATCH 1/2] Initial plan From 5c3e6c32264b36a1baaec8cc764fdf14498d13c2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 24 Jul 2025 20:19:23 +0000 Subject: [PATCH 2/2] Remove conditional from Azure login step and eliminate Client Credentials login Co-authored-by: pamelafox <297042+pamelafox@users.noreply.github.com> --- .github/workflows/azure-dev.yaml | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/.github/workflows/azure-dev.yaml b/.github/workflows/azure-dev.yaml index 526110f..add0d8c 100644 --- a/.github/workflows/azure-dev.yaml +++ b/.github/workflows/azure-dev.yaml @@ -30,7 +30,6 @@ jobs: uses: Azure/setup-azd@v2.1.0 - name: Log in with Azure (Federated Credentials) - if: ${{ env.AZURE_CLIENT_ID != '' }} run: | azd auth login ` --client-id "$Env:AZURE_CLIENT_ID" ` @@ -38,20 +37,6 @@ jobs: --tenant-id "$Env:AZURE_TENANT_ID" shell: pwsh - - name: Log in with Azure (Client Credentials) - if: ${{ env.AZURE_CREDENTIALS != '' }} - run: | - $info = $Env:AZURE_CREDENTIALS | ConvertFrom-Json -AsHashtable; - Write-Host "::add-mask::$($info.clientSecret)" - - azd auth login ` - --client-id "$($info.clientId)" ` - --client-secret "$($info.clientSecret)" ` - --tenant-id "$($info.tenantId)" - shell: pwsh - env: - AZURE_CREDENTIALS: ${{ secrets.AZURE_CREDENTIALS }} - - name: Provision Infrastructure run: azd provision --no-prompt env: