You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When connecting to a workspace that has been configured with a private endpoint, you may encounter a 403or a messaging saying that access is forbidden. Use the information in this article to check for common configuration problems that can cause this error.
17
+
When you connect to an Azure Machine Learning workspace that's configured with a private endpoint, you might encounter a *403* error or a message saying that access is forbidden. This article explains how you can check for common configuration problems that cause this error.
18
18
19
19
> [!TIP]
20
20
> Before using the steps in this article, try the Azure Machine Learning workspace diagnostic API. It can help identify configuration problems with your workspace. For more information, see [How to use workspace diagnostics](how-to-workspace-diagnostic-api.md).
21
21
22
22
## DNS configuration
23
23
24
-
The troubleshooting steps for DNS configuration differ based on whether you're using Azure DNS or a custom DNS. Use the following steps to determine which one you're using:
24
+
The troubleshooting steps for DNS configuration differ based on whether you use Azure DNS or a custom DNS. Use the following steps to determine which one you're using:
25
25
26
26
1. In the [Azure portal](https://portal.azure.com), select the private endpoint for your Azure Machine Learning workspace.
27
-
1. From the __Overview__ page, select the __Network Interface__ link.
28
27
29
-
:::image type="content" source="./media/how-to-troubleshoot-secure-connection-workspace/private-endpoint-overview.png" alt-text="Screenshot of the private endpoint overview with network interface link highlighted.":::
28
+
1. From the **Overview** page, select the **Network Interface** link.
30
29
31
-
1. Under __Settings__, select __IP Configurations__ and then select the __Virtual network__link.
30
+
:::image type="content" source="media/how-to-troubleshoot-secure-connection-workspace/private-endpoint-overview.png" alt-text="Screenshot of the private endpoint overview with network interface link highlighted." lightbox="media/how-to-troubleshoot-secure-connection-workspace/private-endpoint-overview.png":::
32
31
33
-
:::image type="content" source="./media/how-to-troubleshoot-secure-connection-workspace/network-interface-ip-configurations.png" alt-text="Screenshot of the IP configuration with virtual network link highlighted.":::
32
+
1. Under **Settings**, select **IP Configurations** and then select the **Virtual network** link.
34
33
35
-
1. From the __Settings__ section on the left of the page, select the __DNS servers__ entry.
34
+
:::image type="content" source="media/how-to-troubleshoot-secure-connection-workspace/network-interface-ip-configurations.png" alt-text="Screenshot of the IP configuration with virtual network link highlighted." lightbox="media/how-to-troubleshoot-secure-connection-workspace/network-interface-ip-configurations.png":::
35
+
36
+
1. From the **Settings** section on the left of the page, select the **DNS servers** entry.
36
37
37
38
:::image type="content" source="./media/how-to-troubleshoot-secure-connection-workspace/dns-servers.png" alt-text="Screenshot of the DNS servers configuration.":::
38
39
39
-
* If this value is __Default (Azure-provided)__ or __168.63.129.16__, then the VNet is using Azure DNS. Skip to the [Azure DNS troubleshooting](#azure-dns-troubleshooting) section.
40
-
* If there's a different IP address listed, then the VNet is using a custom DNS solution. Skip to the [Custom DNS troubleshooting](#custom-dns-troubleshooting) section.
40
+
* If this value is **Default (Azure-provided)** or **168.63.129.16**, then the virtual network is using Azure DNS. Skip to the [Azure DNS troubleshooting](#azure-dns-troubleshooting) section.
41
+
* If there's a different IP address listed, then the virtual network is using a custom DNS solution. Skip to the [Custom DNS troubleshooting](#custom-dns-troubleshooting) section.
41
42
42
43
### Custom DNS troubleshooting
43
44
@@ -47,42 +48,42 @@ Use the following steps to verify if your custom DNS solution is correctly resol
47
48
48
49
| Azure region | URL |
49
50
| ----- | ----- |
50
-
| Azure Government |https://portal.azure.us/?feature.privateendpointmanagedns=false|
51
-
| Microsoft Azure operated by 21Vianet |https://portal.azure.cn/?feature.privateendpointmanagedns=false|
52
-
| All other regions |https://portal.azure.com/?feature.privateendpointmanagedns=false|
51
+
| Azure Government |<https://portal.azure.us/?feature.privateendpointmanagedns=false>|
52
+
| Microsoft Azure operated by 21Vianet |<https://portal.azure.cn/?feature.privateendpointmanagedns=false>|
53
+
| All other regions |<https://portal.azure.com/?feature.privateendpointmanagedns=false>|
53
54
54
55
1. In the portal, select the private endpoint for the workspace. Make a list of FQDNs listed for the private endpoint.
55
56
56
-
:::image type="content" source="./media/how-to-troubleshoot-secure-connection-workspace/custom-dns-settings.png" alt-text="Screenshot of the private endpoint with custom DNS settings highlighted.":::
57
+
:::image type="content" source="media/how-to-troubleshoot-secure-connection-workspace/custom-dns-settings.png" alt-text="Screenshot of the private endpoint with custom DNS settings highlighted." lightbox="media/how-to-troubleshoot-secure-connection-workspace/custom-dns-settings.png":::
57
58
58
-
1. Open a command prompt, PowerShell, or other command line and run the following command for each FQDN returned from the previous step. Each time you run the command, verify that the IP address returned matches the IP address listed in the portal for the FQDN:
59
+
1. Open a command prompt, PowerShell, or other command line and run the following command for each FQDN returned from the previous step. Each time you run the command, verify that the IP address returned matches the IP address listed in the portal for the FQDN:
59
60
60
61
`nslookup <fqdn>`
61
62
62
-
For example, running the command `nslookup 29395bb6-8bdb-4737-bf06-848a6857793f.workspace.eastus.api.azureml.ms`would return a value similar to the following text:
63
+
For example, running the command `nslookup 29395bb6-8bdb-4737-bf06-848a6857793f.workspace.eastus.api.azureml.ms`returns a value similar to the following text:
1. If the `nslookup` command returns an error, or returns a different IP address than displayed in the portal, then the custom DNS solution isn't configured correctly. For more information, see [How to use your workspace with a custom DNS server](how-to-custom-dns.md)
73
+
1. If the `nslookup` command returns an error, or returns a different IP address than displayed in the portal, then the custom DNS solution isn't configured correctly. For more information, see [How to use your workspace with a custom DNS server](how-to-custom-dns.md).
73
74
74
75
### Azure DNS troubleshooting
75
76
76
77
When using Azure DNS for name resolution, use the following steps to verify that the Private DNS integration is configured correctly:
77
78
78
-
1. On the Private Endpoint, select __DNS configuration__. For each entry in the __Private DNS zone__ column, there should also be an entry in the __DNS zone group__ column.
79
+
1. On the Private Endpoint, select **DNS configuration**. For each entry in the **Private DNS zone** column, there should also be an entry in the **DNS zone group** column.
79
80
80
-
:::image type="content" source="./media/how-to-troubleshoot-secure-connection-workspace/dns-zone-group.png" alt-text="Screenshot of the DNS configuration with Private DNS zone and group highlighted.":::
81
+
:::image type="content" source="media/how-to-troubleshoot-secure-connection-workspace/dns-zone-group.png" alt-text="Screenshot of the DNS configuration with Private DNS zone and group highlighted." lightbox="media/how-to-troubleshoot-secure-connection-workspace/dns-zone-group.png":::
81
82
82
-
* If there's a Private DNS zone entry, but __no DNS zone group entry__, delete and recreate the Private Endpoint. When recreating the private endpoint, __enable Private DNS zone integration__.
83
-
* If __DNS zone group__ isn't empty, select the link for the __Private DNS zone__ entry.
84
-
85
-
From the Private DNS zone, select __Virtual network links__. There should be a link to the VNet. If there isn't one, then delete and recreate the private endpoint. When recreating it, select a Private DNS Zone linked to the VNet or create a new one that is linked to it.
83
+
* If there's a **Private DNS zone** entry, but no **DNS zone group** entry, delete and recreate the Private Endpoint. When recreating the private endpoint, enable **Private DNS zone integration**.
84
+
* If **DNS zone group** isn't empty, select the link for the **Private DNS zone** entry.
85
+
86
+
From the Private DNS zone, select **Virtual network links**. There should be a link to the virtual network. If there isn't one, then delete and recreate the private endpoint. When recreating it, select a Private DNS Zone linked to the virtual network or create a new one that is linked to it.
86
87
87
88
:::image type="content" source="./media/how-to-troubleshoot-secure-connection-workspace/virtual-network-links.png" alt-text="Screenshot of the virtual network links for the Private DNS zone.":::
88
89
@@ -94,18 +95,15 @@ Check if DNS over HTTP is enabled in your web browser. DNS over HTTP can prevent
94
95
95
96
* Mozilla Firefox: For more information, see [Disable DNS over HTTPS in Firefox](https://support.mozilla.org/en-US/kb/firefox-dns-over-https).
96
97
* Microsoft Edge:
97
-
1. In Edge, select __...__ and then select __Settings__.
98
-
1. From settings, search for `DNS` and then disable __Use secure DNS to specify how to look up the network address for websites__.
99
-
98
+
1. Select **...** in the top right corner, then select **Settings**.
99
+
1. From settings, search for **DNS** and then disable **Use secure DNS to specify how to look up the network address for websites**.
100
+
100
101
:::image type="content" source="./media/how-to-troubleshoot-secure-connection-workspace/disable-dns-over-http.png" alt-text="Screenshot of the use secure DNS setting in Microsoft Edge.":::
101
102
102
103
## Proxy configuration
103
104
104
-
If you use a proxy, it may prevent communication with a secured workspace. To test, use one of the following options:
105
+
If you use a proxy, it might prevent communication with a secured workspace. To test, use one of the following options:
105
106
106
107
* Temporarily disable the proxy setting and see if you can connect.
107
108
* Create a [Proxy auto-config (PAC)](https://wikipedia.org/wiki/Proxy_auto-config) file that allows direct access to the FQDNs listed on the private endpoint. It should also allow direct access to the FQDN for any compute instances.
108
109
* Configure your proxy server to forward DNS requests to Azure DNS.
0 commit comments