Skip to content

Commit bd21c66

Browse files
Merge pull request #311893 from MicrosoftDocs/main
Auto Publish – main to live - 2026-02-17 18:00 UTC
2 parents d0f5ed3 + d60574d commit bd21c66

14 files changed

Lines changed: 284 additions & 225 deletions

articles/azure-vmware/configure-storage-policy.md

Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,84 @@ Run the `Update-StoragePolicyOfUnassociatedVsanObjects` cmdlet to modify curre
171171

172172
3. Check **Notifications** to see the progress.
173173

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+
197+
- [List storage policies for Unassociated objects](configure-storage-policy.md#list-storage-policies-for-unassociated-objects)
198+
199+
The output of this command includes the **UUID** of each unassociated vSAN object, which is required for deletion.
200+
201+
202+
### Delete unassociated vSAN objects
203+
204+
After reviewing the list of unassociated objects, delete them **individually** by specifying their UUID and ClusterName.
205+
206+
> [!IMPORTANT]
207+
> Deleting a vSAN object is irreversible. Ensure that the object is not associated with any VM, management component, or system service before proceeding.
208+
209+
### Run Command parameters: `Remove-AvsUnassociatedObject`
210+
211+
| Field | Description |
212+
|------|-------------|
213+
| **UUID** | UUID of the unassociated vSAN object to delete. Obtain this value from the output of `Get‑UnassociatedVsanObjectsWithPolicy`. |
214+
| **ClusterName** | Name of the vSAN cluster that contains the unassociated object. |
215+
| **Retain up to** | Retention period for the Run Command output. |
216+
| **Specify name for execution** | Alphanumeric name used to identify this Run Command execution. |
217+
| **Timeout** | Time after which the command exits if it does not complete. |
218+
219+
1. Navigate to your AVS private cloud in the Azure portal.
220+
2. Select **Run command** > **Packages** > **Microsoft.AVS.Management**.
221+
3. Select **Remove-AvsUnassociatedObject**.
222+
223+
:::image type="content" source="media/run-command/run-command-overview-remove-unassociated-object.png" alt-text="Screenshot showing the Remove-AvsUnassociatedObject Run Command in the Azure portal." lightbox="media/run-command/run-command-overview-remove-unassociated-object.png":::
224+
225+
4. Provide the **UUID** and **ClusterName** of the unassociated object you want to remove.
226+
227+
:::image type="content" source="media/run-command/run-command-remove-unassociated-object.png" alt-text="Screenshot of the Remove-AvsUnassociatedObject Run Command execution." lightbox="media/run-command/run-command-remove-unassociated-object.png":::
228+
229+
5. Select **Run** and monitor execution progress.
230+
231+
Once the command completes successfully, the specified vSAN object is permanently removed from the cluster.
232+
233+
### Best practices and safety guidance
234+
235+
- Always **list objects first** and review them carefully before deletion.
236+
- Delete objects **one at a time** to minimize risk.
237+
- Avoid deleting objects with names or attributes associated with:
238+
- Management VMs
239+
- vCenter
240+
- NSX
241+
- HCX
242+
- SRM
243+
- Backup or replication components
244+
- If you are unsure about an object, do not delete it and investigate further.
245+
246+
### Next steps
247+
248+
- Review storage policy assignments to prevent future unassociated objects.
249+
- Monitor vSAN health checks regularly.
250+
- Use Run Command outputs and retention settings to maintain auditability.
251+
174252
## Specify a storage policy for a cluster
175253

176254
Run the `Set-ClusterDefaultStoragePolicy` cmdlet to specify a default storage policy for a cluster.
136 KB
Loading
115 KB
Loading

articles/migration/migrate-workload-from-aws-conclusion.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ description: Learn about the next steps after you migrate a single workload from
44
ms.author: rhackenberg
55
ai-usage: ai-assisted
66
ms.date: 02/13/2026
7+
author: reginahack
78
ms.topic: concept-article
89
ms.custom: migration-hub
910
ms.service: azure

articles/migration/migrate-workload-from-aws-decommission.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Decommission Your Amazon Web Services (AWS) Workload After You Migrate to Azure
33
description: Learn how to decommission AWS resources after you migrate a single workload from AWS to Azure. Create final backups, delete resources, and establish new baselines.
44
ms.author: rhackenberg
5+
author: reginahack
56
ai-usage: ai-assisted
67
ms.date: 02/13/2026
78
ms.topic: concept-article

articles/migration/migrate-workload-from-aws-evaluate.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Evaluate your Workload from Amazon Web Services (AWS) After You Migrate to Azure
33
description: Learn how to evaluate the migration of a single workload from AWS to Azure. Monitor performance, verify baselines, and confirm data cutover.
44
ms.author: rhackenberg
5+
author: reginahack
56
ai-usage: ai-assisted
67
ms.date: 02/13/2026
78
ms.topic: concept-article

articles/migration/migrate-workload-from-aws-execute.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Execute Your Migration from Amazon Web Services (AWS) to Azure
33
description: Learn how to execute the migration from AWS to Azure. Follow proven cutover strategies, sync data, validate workloads, and ensure rollback readiness.
44
ms.author: rhackenberg
5+
author: reginahack
56
ai-usage: ai-assisted
67
ms.date: 02/13/2026
78
ms.topic: concept-article

articles/migration/migrate-workload-from-aws-introduction.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Migrate a Workload from Amazon Web Services (AWS) to Azure
33
description: Learn how to migrate a single workload from AWS to Azure. Plan, prepare, execute, evaluate, and decommission your previous workload with minimal risk.
44
ms.author: rhackenberg
5+
author: reginahack
56
ai-usage: ai-assisted
67
ms.date: 02/13/2026
78
ms.topic: concept-article

articles/migration/migrate-workload-from-aws-plan.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Plan Your Workload Migration from Amazon Web Services (AWS) to Azure
33
description: Plan your AWS to Azure migration. Assess the workload, design the architecture, and use detailed runbooks to minimize risk and ensure success.
44
ms.author: rhackenberg
5+
author: reginahack
56
ai-usage: ai-assisted
67
ms.date: 02/13/2026
78
ms.topic: concept-article

articles/migration/migrate-workload-from-aws-prepare.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
title: Prepare Your Workload Migration from Amazon Web Services (AWS) to Azure
33
description: Learn how to prepare a single workload for migration from AWS to Azure. Deploy infrastructure, refactor code, and test security for a smooth transition.
44
ms.author: rhackenberg
5+
author: reginahack
56
ai-usage: ai-assisted
67
ms.date: 02/13/2026
78
ms.topic: concept-article
@@ -13,7 +14,7 @@ ms.collection:
1314
---
1415
# Prepare your workload migration from Amazon Web Services (AWS) to Azure
1516

16-
This article is part of a series about how to [migrate a workload from Amazon Web Services (AWS) to Azure](/azure/migration/migrate-workload-from-aws-introduction).
17+
This article is part of a series about how to [migrate a workload from Amazon Web Services (AWS) to Azure](/azure/migration/migrate-workload-from-aws-introduction).
1718

1819
The preparation phase consists of these steps:
1920

0 commit comments

Comments
 (0)