Open yooakim opened 1 month ago
Thanks for reporting - I assume your account does have access to the organization listed? Is this an Entra-joined ADO organization, or a personal org?
I have the same issue for an Entra-joined ADO org.
It also keeps popping up even though I've selected "Turn off Info and Warning Notifications from 'Azure Pipelines'"
Checking the output for the Azure Pipelines extension I'm seeing repeated:
(11/13/2024, 4:01:50 PM) [SchemaDetection] sc is an Azure repo
(11/13/2024, 4:01:54 PM) [SchemaDetection] No account found for [organisation]
(11/13/2024, 4:01:54 PM) [SchemaDetection] Error: Unable to delete nonexistent file 'vscode-userdata:/c:/Users/[user]/AppData/Roaming/Code/User/globalStorage/ms-azure-devops.azure-pipelines/1ESPTSchema' while deleting 1ESPT schema. It's possible that the schema file does not exist
(11/13/2024, 4:01:54 PM) [SchemaDetection] Using hardcoded schema for workspace folder sc: /c:/Users/[user]/.vscode/extensions/ms-azure-devops.azure-pipelines-1.247.2/service-schema.json
For people hitting this, how many Azure/Entra tenants does your account have access to? I'm going to add some more debugging to see what's going wrong.
My account has access to 3 tenants and 8 subscriptions for those.
Same problem here, one tenant, 15 subscriptions
Hello folks! I have a test build for you to try out, if you don't mind: https://artprodwcus0.artifacts.visualstudio.com/A0efb4611-d565-4cd1-9a64-7d6cb6d7d5f0/c86767d8-af79-4303-a7e6-21da0ba435e2/_apis/artifact/cGlwZWxpbmVhcnRpZmFjdDovL21zZW5nL3Byb2plY3RJZC9jODY3NjdkOC1hZjc5LTQzMDMtYTdlNi0yMWRhMGJhNDM1ZTIvYnVpbGRJZC8yOTM1ODU5OS9hcnRpZmFjdE5hbWUvYXp1cmUtcGlwZWxpbmVzLXZzY29kZQ2/content?format=file&subPath=%2Fextension.vsix
Hopefully, if the tenant your ADO organizations are connected to is the same as your account's default tenant, things will Just Work. If your ADO orgs are using a different tenant (but under the same account), then you should see the same "no access" popup but with a new option that lets you change the tenant that we try to use when authenticating.
Let me know if this fixes your issue! If not, please run the "Output: Show Output Channels..." command from the Command Palette, select Azure Pipelines
, then share the logs here as well as the tenant ID listed when you go to https://dev.azure.com/YOUR-ORG-HERE/_settings/organizationAad
.
The test build works good for me! Looking forward to the update!
That test build resolved the issue for me as well 👍
Thanks folks; will try to get a release out this week or next.
I use the extension (v1.247.2) with VS Code. I have multiple accounts. The Azure Pipelines extension keeps asking me to log in. It doesn't matter that I have signed in - this dialog comes up all the time. It shows up as soon as I switch to another file.