Unable to connect to Azure Machine Learning compute

Hello community,
I am unable to connect to Azure Machine Learning compute with Cursor.
To reproduce:

  1. download the Azure Machine Learning extension (ms-toolsai.vscode-ai)
  2. login to azure account (in the command prompt Azure: Sign in)
  3. connect to a compute (in the command prompt Azure ml: Connect to a compute instance).

The error I’m getting is not very informative, simply unable to install VS code server on the remote compute:
Maximum retries exhausted. Could not install VS Code server on : Downloading VS Code server failed. Please try again later.

The exact same procedure works with VS code.

System details
Version: 0.14.0
VSCode Version: 1.83.1
Commit: edbb49b5481d7fddb9a1115a33617591f39a6d00
Date: 2023-11-02T20:00:53.580Z
Electron: 25.8.4
ElectronBuildId: undefined
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.22621
(fails on a Linux machine as well I’m afraid)

Any suggestions are welcome,
thanks in advance.

Hello shaulab.
As a prerequisite, are you using “API Management” and “Azure App Service”?
In my environment, they need to be used together.
Of course, you also need to create a model and deploy it in Azure AI Studio.

Thanks for the response Kyut!
I don’t really use API Management and Azure App Service.
I’m just trying to connect to the compute (VM) in my Azure Machine Learning Workspace.
Anyway I tried downloading both extensions and activated them, it made no difference.

You can find out how to use “Azure API Management” on YouTube or Google.
It is a good place to start.