azure-dev: [Issue] Recent changes to azd seem to have broken .NET Aspire Azure CI/CD pipeline provision & deploy
- Make sure you’ve installed the latest version using instructions in the wiki
Output from azd version
Run azd version and copy and paste the output here: 2.74.0
Describe the bug I was struggling with this last week when I was using the daily version in my Azure DevOps CI/CD pipeline. I reverted to the full release and it went away. Now it is back. I am worried that a recent change broke the Azure deployment for Aspire.
I am using azure cli auth. and just prior to the step I am logged in:
{ “auth”: { “useAzCliAuth”: “true” } } === azd Auth Status === Logged in to Azure
– Core Error Analyzing Aspire Application (this might take a moment…) Downloading Bicep (✓) Done: Downloading Bicep Initialize bicep provider Retrieving subscriptions…
ERROR: resolving bicep parameters file: fetching current principal type: fetching login details: not logged in, run azd auth login to login
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16 (2 by maintainers)
There is a regression on 1.17.1 The issue impacts folks delegating auth to
az(usingazd config set auth.useAzCliAuth "true").This is why it is observable from ADO pipelines as commented by @mathieumack.
For 1.17.1, AZD can provide the
principalId typebut we did not consider the auth-delegation option for az, causing the issue.Workaround you can apply immediately while we work on a fix for 1.17.2
@vhvb1989 can you help triage this one?