1
1
---
2
2
description : This article answers common questions and explains how to troubleshoot Cloud Shell issues.
3
- ms.contributor : jahelmic
4
- ms.date : 08/22/2024
3
+ ms.date : 08/29/2024
5
4
ms.topic : troubleshooting
6
5
tags : azure-resource-manager
7
6
ms.custom : has-azure-ad-ps-ref
@@ -97,8 +96,10 @@ command that requires elevated permissions.
97
96
- ** Details** : When creating the Cloud Shell storage account for first-time users, it's
98
97
unsuccessful due to an Azure Policy assignment placed by your admin. The error message includes:
99
98
100
- > The resource action 'Microsoft.Storage/storageAccounts/write' is disallowed by
101
- > one or more policies.
99
+ ```
100
+ The resource action 'Microsoft.Storage/storageAccounts/write' is disallowed by
101
+ one or more policies.
102
+ ```
102
103
103
104
- ** Resolution** : Contact your Azure administrator to remove or update the Azure Policy assignment
104
105
denying storage creation.
@@ -118,17 +119,16 @@ command that requires elevated permissions.
118
119
following domains:
119
120
- ` *.console.azure.com `
120
121
- ` *.servicebus.windows.net `
122
+ - ` *.servicebus.usgovcloudapi.net ` for Azure Government Cloud
121
123
122
- ### Accessing Cloud Shell from VNET Isolation with a Private DNS Zone - Failed to request a terminal
124
+ ### Failed to request a terminal - Accessing Cloud Shell from a network that uses a private DNS resolver
123
125
124
126
- ** Details** : Cloud Shell uses Azure Relay for terminal connections. Cloud Shell can fail to
125
127
request a terminal due to DNS resolution problems. This failure can be caused when you launch a
126
- nonisolated Cloud Shell session from within a VNet-isolated environment that includes a private
127
- DNS Zone for the servicebus domain .
128
+ Cloud Shell session from a host in a network that has a private DNS Zone for the servicebus
129
+ domain. This error can also occur if you're using a private on-premises DNS server .
128
130
129
- - ** Resolution** : There are two ways to resolve this problem. You can follow the instructions in
130
- [ Deploy Cloud Shell in a virtual network] [ 01 ] . Or, you can add a DNS record for the Azure Relay
131
- instance that Cloud Shell uses.
131
+ - ** Resolution** : You can add a DNS record for the Azure Relay instance that Cloud Shell uses.
132
132
133
133
The following steps show you how to identify the DNS name of the Cloud Shell instance and how to
134
134
create a DNS record for that name.
@@ -139,7 +139,8 @@ command that requires elevated permissions.
139
139
corner. Search for ` terminals? ` to find the request for a Cloud Shell terminal. Select the one
140
140
of the request entries found by the search. In the ** Headers** tab, find the hostname in the
141
141
** Request URL** . The name is similar to
142
- ` ccon-prod-<region-name>-aci-XX.servicebus.windows.net ` .
142
+ ` ccon-prod-<region-name>-aci-XX.servicebus.windows.net ` . For Azure Government Cloud, the
143
+ hostname ends with ` servicebus.usgovcloudapi.net ` .
143
144
144
145
The following screenshot shows the Developer Tools in Microsoft Edge for a successful request
145
146
for a terminal. The hostname is ` ccon-prod-southcentalus-aci-02.servicebus.windows.net ` . In
@@ -148,6 +149,9 @@ command that requires elevated permissions.
148
149
149
150
[ ![ Screenshot of the browser developer tools.] ( media/faq-troubleshooting/devtools-small.png )] ( media/faq-troubleshooting/devtools-large.png#lightbox )
150
151
152
+ For information about accessing the Developer Tools in other browsers, see
153
+ [ Capture a browser trace for troubleshooting] [ 03 ] .
154
+
151
155
1 . From a host outside of your private network, run the ` nslookup ` command to find the IP address
152
156
of the hostname as found in the previous step.
153
157
@@ -159,15 +163,15 @@ command that requires elevated permissions.
159
163
160
164
` ` ` Output
161
165
Server: 168.63.129.16
162
- Address: 168.63.129.16#53
166
+ Address: 168.63.129.16
163
167
164
168
Non-authoritative answer:
165
169
ccon-prod-southcentralus-aci-02.servicebus.windows.net canonical name = ns-sb2-prod-sn3-012.cloudapp.net.
166
170
Name: ns-sb2-prod-sn3-012.cloudapp.net
167
171
Address: 40.84.152.91
168
172
` ` `
169
173
170
- 1. Add an A record for the public IP in the Private DNS Zone of the VNET isolated setup . For this
174
+ 1. Add an A record for the public IP in the Private DNS Zone of your private network . For this
171
175
example, the DNS record would have the following properties:
172
176
173
177
- Name: ccon-prod-southcentralus-aci-02
@@ -178,6 +182,13 @@ command that requires elevated permissions.
178
182
For more information about creating DNS records in a private DNS zone, see
179
183
[Manage DNS record sets and records with Azure DNS][02].
180
184
185
+ > [! NOTE]
186
+ > This IP address is subject to change periodically. You might need to repeat this process to
187
+ > discover the new IP address.
188
+
189
+ Alternately, you can deploy your own private Cloud Shell instance. For more information, see
190
+ [Deploy Cloud Shell in a virtual network][01].
191
+
181
192
# # Managing Cloud Shell
182
193
183
194
# ## Manage personal data
@@ -232,3 +243,4 @@ Use the following steps to delete your user settings.
232
243
<!-- link references -->
233
244
[01]: /azure/cloud-shell/vnet/overview
234
245
[02]: /azure/dns/dns-operations-recordsets-portal
246
+ [03]: /azure/azure-portal/capture-browser-trace
0 commit comments