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-vmware/configure-storage-policy.md
+87Lines changed: 87 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -171,6 +171,93 @@ Run the `Update-StoragePolicyOfUnassociatedVsanObjects` cmdlet to modify curre
171
171
172
172
3. Check **Notifications** to see the progress.
173
173
174
+
## Delete unassociated vSAN objects using Run Command
175
+
176
+
Unassociated vSAN objects can remain in a cluster due to interrupted operations, policy mismatches, or failed workflows. These objects consume storage capacity and may block certain cluster operations.
177
+
178
+
This article explains how to **list** and **delete** unassociated vSAN objects in **Azure VMware Solution (AVS)** using **Run Command**.
179
+
180
+
### Prerequisites
181
+
182
+
Before listing or deleting unassociated vSAN objects, ensure that:
183
+
184
+
- You have access to the Azure portal with permissions equivalent to the **cloudadmin** role for the AVS private cloud.
185
+
- The cluster meets the minimum host requirements for its vSAN configuration (OSA or ESA).
186
+
- You are using the latest supported version of the **Microsoft.AVS.Management** Run Command package.
187
+
- You have validated that the objects to be deleted are **not required** by any workload, management VM, or system component.
188
+
189
+
### List unassociated vSAN objects
190
+
191
+
Before deleting any objects, list and review them to confirm that they are truly unassociated.
192
+
193
+
Use the **Get‑UnassociatedVsanObjectsWithPolicy** Run Command to list unassociated vSAN objects and obtain their UUIDs.
194
+
195
+
For detailed steps, see:
196
+
-**List storage policies for Unassociated objects**
197
+
198
+
The output of this command includes the **UUID** of each unassociated vSAN object, which is required for deletion.
199
+
200
+
201
+
### Delete unassociated vSAN objects
202
+
203
+
After reviewing the list of unassociated objects, delete them **individually** by specifying their UUID and ClusterName.
204
+
205
+
> [!IMPORTANT]
206
+
> Deleting a vSAN object is irreversible. Ensure that the object is not associated with any VM, management component, or system service before proceeding.
207
+
208
+
### Run Command: `Remove-AvsUnassociatedObject`
209
+
210
+
1. Navigate to your AVS private cloud in the Azure portal.
0 commit comments