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

Unable to sign in to Azure #2303

Closed ankitbko closed 4 months ago

ankitbko commented 4 months ago

Expected Behavior

I should be able to sign in and use the extension.

Actual Behavior

Clicking on signin button and then selecting the account does nothing. I am using vscode insider with prelease version of the extension. Subsequent clicks on Signin button does nothing.

Here are the trace logs:

[Trace - 2024-02-12 06:46:21.765] JupyterUriProviderFactory.getJupyterUriProvider called with arguments: []
[Debug - 2024-02-12 06:46:21.766] Registering Azure ML Uri Hanlder with path:  /computeInstance/remote
[Debug - 2024-02-12 06:46:21.766] Registering Azure ML Uri Hanlder with path:  /environmentContainer/remote
[Debug - 2024-02-12 06:46:21.766] IsRemoteAzureMLConnection: false
[Debug - 2024-02-12 06:46:21.767] Registering Azure ML Uri Hanlder with path:  /interactiveSession/distributedJob
[Debug - 2024-02-12 06:46:21.767] Registering Azure ML Uri Hanlder with path:  /interactiveSession
[Info - 2024-02-12 06:46:21.777] Using ComputeInstanceJupyterUriProvider
[Debug - 2024-02-12 06:46:21.811] Registering compute instance remote server provider
[Debug - 2024-02-12 06:46:21.812] Ensuring Jupyter extension is installed
[Debug - 2024-02-12 06:46:21.812] Jupyter extension is already installed
[Debug - 2024-02-12 06:46:21.827] Attempting to activate the extension: Jupyter
[Debug - 2024-02-12 06:46:21.876] Getting children for root node
[Trace - 2024-02-12 06:46:21.877] DefaultWorkspaceService.get called with arguments: []
[Debug - 2024-02-12 06:46:37.375] WelcomeView nodes are being displayed in the tree view
[Trace - 2024-02-12 06:47:38.021] AuthenticationService.promptLoginIfNecessaryAndBlock called with arguments: []
[Trace - 2024-02-12 06:47:38.033] Telemetry Event: authentication/needsLogin Measures: undefined Props: {
    "result": "true"
}
[Debug - 2024-02-12 06:47:38.033] User needs to login to Azure Account
[Trace - 2024-02-12 06:47:42.388] Refreshing tree view 
[Trace - 2024-02-12 06:47:42.388] DefaultWorkspaceService.get called with arguments: []
[Debug - 2024-02-12 06:47:42.392] Getting children for root node
[Debug - 2024-02-12 06:47:42.420] WelcomeView nodes are being displayed in the tree view
[Trace - 2024-02-12 06:49:18.286] DefaultWorkspaceService.get called with arguments: []
[Trace - 2024-02-12 06:49:19.817] AuthenticationService.promptLoginIfNecessaryAndBlock called with arguments: []
[Trace - 2024-02-12 06:49:19.825] Telemetry Event: authentication/needsLogin Measures: undefined Props: {
    "result": "false"
}

Steps to Reproduce the Problem

  1. Click on sign in button
  2. Select the account to sign in with.

Specifications

Version: 1.87.0-insider (user setup)
Commit: 8fa84589eef3538dbc763ff98dc7d5a8a0c56374
Date: 2024-02-09T05:47:15.236Z
Electron: 27.3.1
ElectronBuildId: 26731440
Chromium: 118.0.5993.159
Node.js: 18.17.1
V8: 11.8.172.18-electron.0
OS: Windows_NT x64 10.0.22635
sevillal commented 4 months ago

@ankitbko thanks for filing this issue. I have couple of questions regarding your issue:

ankitbko commented 4 months ago

Ok so I reinstalled vscode itself and now its working again. But to answer your question, yes I have access to multiple azure subscription in multiple tenants. I clicked on refresh and nothing happened. No popup for auth was shown and the ViewTree did not update. Its working now so I can't share the logs of refresh action. You may close the issue now if you feel so.

sevillal commented 4 months ago

Good to know that it is working now. I will close this issue for now, but feel free to reopen if the issue persists.