Skip to content

Commit f5e6fcf

Browse files
fix: Update Azure CLI login method to use device code for local authentication
1 parent 9363ddc commit f5e6fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

infra/scripts/agent_scripts/run_create_agents_scripts.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ if az account show &> /dev/null; then
5959
else
6060
# Use Azure CLI login if running locally
6161
echo "Authenticating with Azure CLI..."
62-
az login
62+
az login --use-device-code
6363
fi
6464

6565
echo "Getting signed in user id"

0 commit comments

Comments
 (0)