Whenever anyone on my team opens the first Azure Pipelines YAML file in VS Code, the Azure Pipelines extension emits the following error:
Cannot read properties of undefined (reading 'name')
Source: Azure Pipelines
The Window log also shows this error:
Cannot read properties of undefined (reading 'accessToken')
The error appears early, seemingly before VS code requests Azure tenant information. VS Code also does not provide any code completion beyond the default (i.e. based on other strings in the file).
The following actions did not cause any change to the behavior.
Disabling all other installed extensions.
Swithing from ADAL to MSAL.
Configuring an explicit tenant id.
It might be worth noting that for historical reasons, this organization has three Azure tenants: a corp tenant with user identities, a tenant for a test Azure subscription, and a tenant for a production Azure subscription.
Hi @sharpjs, Thank you for the feedback and for the detailed repro and logs! Currently, we are working on more prioritized issues but will get back to this one soon.
Whenever anyone on my team opens the first Azure Pipelines YAML file in VS Code, the Azure Pipelines extension emits the following error:
The Window log also shows this error:
The error appears early, seemingly before VS code requests Azure tenant information. VS Code also does not provide any code completion beyond the default (i.e. based on other strings in the file).
The following actions did not cause any change to the behavior.
It might be worth noting that for historical reasons, this organization has three Azure tenants: a corp tenant with user identities, a tenant for a test Azure subscription, and a tenant for a production Azure subscription.