If not, just run the Register-AzResourceProvider cmdlet again. In the command output, the RegistrationState should change to Registered. You can verify that the Providers registered successfully, using the following commands: Get-AzResourceProvider -ProviderNamespace "Microsoft.RecoveryServices" If you're using Azure Backup for the first time, you must use the Register-AzResourceProvider cmdlet to register the Azure Recovery Service provider with your subscription. For example: Connect-AzAccount -Tenant ""Īssociate the subscription you want to use with the account, since an account can have several subscriptions: Select-AzSubscription -SubscriptionName $SubscriptionName If you're a CSP partner working on behalf of a tenant, specify the customer as a tenant, by using their tenantID or tenant primary domain name.Alternately, you can include your account credentials as a parameter in the Connect-AzAccount cmdlet, using the -Credential parameter.This cmdlet brings up a web page prompts you for your account credentials:
Sign in to your Azure account using Connect-AzAccount. The following image is an example of what you'll see. The aliases and cmdlets for Azure Backup, Azure Site Recovery, and the Recovery Services vault appear.
#View memeo instant backup product key how to#
To learn how to migrate to the Az PowerShell module, see Migrate Azure PowerShell from AzureRM to Az.ĭownload the latest version of PowerShellįind the Azure Backup PowerShell cmdlets available by typing the following command: Get-Command *azrecoveryservices* To get started with the Az PowerShell module, see Install Azure PowerShell. This article uses the Azure Az PowerShell module, which is the recommended PowerShell module for interacting with Azure.