microsoft / vscode-tools-for-ai

Azure Machine Learning for Visual Studio Code, previously called Visual Studio Code Tools for AI, is an extension to easily build, train, and deploy machine learning models to the cloud or the edge with Azure Machine Learning service.
Other
321 stars 91 forks source link

After click Edit in VS Code (Desktop), error happened #2226

Closed aiwq2 closed 8 months ago

aiwq2 commented 8 months ago

Does this occur consistently? Repro steps:

1. 2.

Action: UriHandler.handleUri Error type: 344 Error Message: Error obtaining refresh redacted:key your subscription. Please try again

Version: 0.38.0 OS: win32 OS Release: 10.0.22631 Product: Visual Studio Code Product Version: 1.84.1 Language: zh-cn

Call Stack ``` j. extension.js:2:2529683 s extension.js:2:2525761 ```
sevillal commented 8 months ago

@aiwq2 I apologize for the issue you are facing.

Could you please check the value of the setting Azure: Authentication Library? If it is set to MSAL could you please change it to ADAL, it should look like this: image

aiwq2 commented 8 months ago

Yeah, after I switch the configuration, it does work. Thanks a lot! @sevillal