@Takayoshi Enomoto Thanks for the question. Here is the document for troubleshooting guide. If you’re using a private network, make sure that your network configuration allows access to the compute instance. This includes checking your DNS configuration, browser configuration, and proxy configuration. If you’re using a VPN, make sure that the VPN is correctly configured to allow access to the compute instance.
Azure Machine Learning Compute Instance Access Error with Private Network

Takayoshi Enomoto
40
Reputation points
Following error displayed when I selected notebooks on AML workspace:
Error: User does not have access to this compute instance. Please check if this compute instance is assigned to you and you have access to the workspace. Additionally, verify that you are on the correct network to access this compute instance.
My workspace is on a private network, and I am using a VPN gateway to access the AML workspace.
If I change the network to public, the error is not displayed.
How can I fix the problem while keeping a private network?
Additional information:
- The error is also displayed when accessing JupyterLab.
- I do not use CustomDNS Server
Azure Machine Learning
Azure Machine Learning
An Azure machine learning service for building and deploying models.
3,333 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,762 questions
2 answers
Sort by: Most helpful
-
-
Takayoshi Enomoto 40 Reputation points
2023-11-14T13:47:34.5266667+00:00 I resolved by following steps.
- Get services endpoint_uri by following azure cli command.
$ az ml compute show -g <resoucegroup name> -w <azuremachinelearning name> -n <compute instance name>
- Get workspace IP Address by refer to private DNS zone on azure portal.
- Add following line to "C:\Windows\System32\drivers\etc\hosts" on local PC.
<workspace IP Address> <common part of endpoint_uri>
ex. 10.0.0.11 ml-instance-001.japaneast.instances.azureml.ms
- Get services endpoint_uri by following azure cli command.