Skip to content

No more Resource Group Name for Service Vault Containers? #10457

@DanteNahuel

Description

@DanteNahuel

Description

I've been using a self made script to recollect information about VM Backups and last week I started to get $null errors for the containers of the Backups.

When I debugged my code this was the part that was getting $null values:

$container = (Get-AzRecoveryServicesBackupContainer -ContainerType "AzureVM" -Status "Registered" -VaultId $VaultID | where-object {$_.FriendlyName -eq $vmname -and $_.ResourceGroupName -eq $rg})

Going step by step I found that the Backup Containers no longer have a Resource Group or at least not a Resource Group Name output...

Is this intended behavior?
Am I missing something?
How can this be possible, having in mind all Azure Resources are logically placed in RGs?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions