Skip to content

Remove-AzureRmResourceGroup -Force should _always_ delete the specified resource group. #4804

Open
@twitchax

Description

@twitchax

Cmdlet(s)

Remove-AzureRmResourceGroup

PowerShell Version

4.4.1

Module Version

AzureRM.Resources 4.4.1

OS Version

N/A.

Description

Reported by @KirkMunro in this twitter thread.

Looks as though some services block the deletion of a resource group (e.g., Recovery Services Vault); though, there are some others, as well.

Debug Output

N/A.

Script/Steps for Reproduction

For a simple repro, run Remove-AzureRmResourceGroup -Force against an RG with a Recovery Services Vault resource.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions