Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

"Input for configure protection is not in proper format" error when you run Azure PowerShell to enable VM backup


View products that this article applies to.

Symptoms

When you enable backup for Microsoft Azure virtual machines (VMs) by using a version of Microsoft Azure PowerShell that's earlier than 1.5.1, you receive an error message that resembles the following:

PS C:\WINDOWS\system32> Enable-AzureRmRecoveryServicesBackupProtection -Policy $policy -Name BackupItemName -ResourceGroupName ResourceGroupName
Enable-AzureRmRecoveryServicesBackupProtection:
BMSUserErrorInvalidConfigureProtectionRequest: Input for configure protection is not in proper format
Please ensure that container exists and other parameters are in valid format

↑ Back to the top


Cause

This issue occurs because the cmdlets for the Microsoft Azure Recovery services vault have been updated for an important security fix, and this update triggers the error in pre-1.5.1 versions of Azure PowerShell.

↑ Back to the top


Workaround

To work around this issue, download and install the latest version of Azure PowerShell. To do this, go to Azure Downloads > Command-line tools > PowerShell > Windows install.

When you do this, you'll see the following download page:

Screen shot for the download page

↑ Back to the top


Keywords: kbsurveynew, kbprb, kbfix, kbexpertiseadvanced, kb

↑ Back to the top

Article Info
Article ID : 3172632
Revision : 1
Created on : 1/7/2017
Published on : 7/21/2016
Exists online : False
Views : 259