Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Azure CLI 2.46 introduces breaking changes #209

Closed
natelabo opened this issue Mar 18, 2023 · 3 comments
Closed

Azure CLI 2.46 introduces breaking changes #209

natelabo opened this issue Mar 18, 2023 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@natelabo
Copy link

Bicep deployment fails due to issues with parameters not being passed properly when utilizing Azure CLI version 2.46 (Latest Version)

To reproduce follow setup instructions in Identity Provider.

Resolved by downgrading version in Dockerfile. Replace the following line:

&& curl -sL https://aka.ms/InstallAzureCLIDeb | sudo bash

With (Taken from Azure CLI installation script):

apt-transport-https \ lsb-release \ && sudo mkdir -p /etc/apt/keyrings \ && curl -sLS https://packages.microsoft.com/keys/microsoft.asc | gpg --dearmor | sudo tee /etc/apt/keyrings/microsoft.gpg > /dev/null \ && sudo chmod go+r /etc/apt/keyrings/microsoft.gpg \ && AZ_REPO=$(lsb_release -cs) \ && echo "deb [arch=dpkg --print-architecture signed-by=/etc/apt/keyrings/microsoft.gpg] https://packages.microsoft.com/repos/azure-cli/ $AZ_REPO main" | sudo tee /etc/apt/sources.list.d/azure-cli.list \ && sudo apt-get update \ && sudo apt-get install azure-cli=2.45.0-1~jammy -y

@natelabo natelabo added the bug Something isn't working label Mar 18, 2023
@natelabo
Copy link
Author

More info:

Azure/azure-cli#25710

@1iveowl
Copy link
Collaborator

1iveowl commented Mar 19, 2023

Thanks @natelabo. Will take a look at it.

@1iveowl 1iveowl self-assigned this Mar 19, 2023
1iveowl added a commit to 1iveowl/azure-saas that referenced this issue Mar 19, 2023
Temp fix for issue introduced with Az CLI 2.46
@1iveowl 1iveowl mentioned this issue Mar 19, 2023
@1iveowl
Copy link
Collaborator

1iveowl commented Mar 19, 2023

A temporary work-around have been implemented with PR #211.

The issues looks like an issue with Az CLI 2.46 and we will monitor this to see if we can remove the work-around at a later time.

@1iveowl 1iveowl closed this as completed Mar 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants