Answer accepted by question author
Hi @Becky Hope The Azure Migrate project associated with these resources no longer exists, so you cannot access or remove replication protected items via the UI.
Microsoft.DataReplication/replicationVaults
Microsoft.DataReplication/replicationFabrics
Microsoft.DataReplication/replicationFabrics
Based on the deployment template, protectedItems, replicationExtensions, and fabricAgents still exist, but they are not visible in the portal or via az resource list.
The back-end team connected with you and helped to force delete an entire resource
If you find the answer helpful, please click "upvote" and accept it. This will help others in the community with similar questions easily find the solution.
-
Becky Hope 20 Reputation points • Microsoft Employee
We had to find the protected items with the following command and search the output by "name":
Invoke-AzRestMethod -Method GET -Path "/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.DataReplication/replicationVaults/<replicationVaultName>/protectedItems?api-version=2024-09-01"
Then force a delete with this command(the protectedItemGUID is found in the output "name"):
Invoke-AzRestMethod -Method DELETE -Path "/subscriptions/<subscriptionId>/resourceGroups/<resourceGroupName>/providers/Microsoft.DataReplication/replicationVaults/<replicationVaultName>/protectedItems/<protectedItemGUID>?api-version=2024-09-01&ForceDelete=True"
Sign in to comment
