Open Jonatan-V opened 1 year ago
Just to double check, are you signed into the "Azure Account" extension? Assuming yes, we will need to investigate this further.
@bhsubra / @puicchan -- can you take a look at this one?
Just to double check, are you signed into the "Azure Account" extension? Assuming yes, we will need to investigate this further.
Yes I am indeed.
Thanks @Jonatan-V for reporting the issue.
This is currently blocked by https://github.com/Azure/azure-sdk-for-net/issues/27263. As a workaround, could you please try using azure cli for authentication?
cc: @puicchan, @alex-frankel, @shenglol
I am trying to get this working - is there a concrete example of what we need to use -
Do we have a way of making this work at present? Thanks for any help.
@gsuttie
What seems to have worked for me was to do the following in the VS Code terminal, I used vscode-powershell
with PowerShell v7.4.0.
az cache purge
az login --use-device-code
az account set --subscription <subscription_id_where_ACR_lives>
Then closed and reopened Visual Studio Code. Maybe >Bicep: Restore Bicep Modules (Force)
can be used here, IDK.
Bicep version VS Code bicep extension v0.11.1
Describe the bug When I create a module that references another module in acr, i get auth error (see additional context) when i try to use VS Code (azure account extenstion). Using azure cli works as expected though.
To Reproduce Steps to reproduce the behavior: Create a module that references a module in acr ie:
And bicepconfig.json:
Additional context