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
Copy file name to clipboardExpand all lines: articles/azure-netapp-files/azacsnap-troubleshoot.md
+60Lines changed: 60 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -58,6 +58,66 @@ When validating communication with Azure NetApp Files, communication might fail
58
58
- (https://)management.azure.com:443
59
59
- (https://)login.microsoftonline.com:443
60
60
61
+
### Testing communication using Cloud Shell
62
+
63
+
You can test the Service Principal is configured correctly by using Cloud Shell through your Azure Portal. This will test that the configuration is correct bypassing network controls within a VNet or virtual machine.
64
+
65
+
**Solution:**
66
+
67
+
1. Open a [Cloud Shell](/cloud-shell/overview.md) session in your Azure Portal.
68
+
1. Make a test directory (e.g. `mkdir azacsnap`)
69
+
1. cd to the azacsnap directory and download the latest version of azacsnap tool.
70
+
71
+
```bash
72
+
wget https://aka.ms/azacsnapinstaller
73
+
```
74
+
75
+
```output
76
+
----<snip>----
77
+
HTTP request sent, awaiting response... 200 OK
78
+
Length: 24402411 (23M) [application/octet-stream]
79
+
Saving to: ‘azacsnapinstaller’
80
+
81
+
azacsnapinstaller 100%[=================================================================================>] 23.27M 5.94MB/s in 5.3s
|-> Installer version '5.0.2_Build_20210827.19086'
98
+
|-> Extracting commands into ..
99
+
|-> Cleaning up .NET extract dir
100
+
```
101
+
102
+
1. Using the Cloud Shell Upload/Download icon, upload the Service Principal file (e.g. `azureauth.json`) and the AzAcSnap configuration file for testing (e.g. `azacsnap.json`)
103
+
1. Run the Storage test from the Azure Cloud Shell console.
104
+
105
+
> [!NOTE]
106
+
> The testcommand can take about 90 seconds to complete.
107
+
108
+
```bash
109
+
./azacsnap -c test --test storage
110
+
```
111
+
112
+
```output
113
+
BEGIN : Test process started for'storage'
114
+
BEGIN : Storage test snapshots on 'data' volumes
115
+
BEGIN : 1 task(s) to Test Snapshots for Storage Volume Type 'data'
116
+
PASSED: Task#1/1 Storage test successful for Volume
0 commit comments