Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AzureSqlProtectionPolicy.json Failing #9

Open
jeffpatton1971 opened this issue Mar 15, 2022 · 0 comments
Open

AzureSqlProtectionPolicy.json Failing #9

jeffpatton1971 opened this issue Mar 15, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@jeffpatton1971
Copy link
Contributor

Template fails deployment

New-AzureRmResourceGroupDeployment -Name testing -ResourceGroupName ptech-testing -TemplateFile .\templates\AzureSqlProtectionPolicy.json -Verbose
VERBOSE: Performing the operation "Creating Deployment" on target "ptech-testing".
VERBOSE: 5:14:09 PM - Template is valid.
VERBOSE: 5:14:10 PM - Create template deployment 'testing'
VERBOSE: 5:14:10 PM - Checking deployment status in 5 seconds
New-AzureRmResourceGroupDeployment : 5:14:15 PM - Resource Microsoft.RecoveryServices/vaults/backupPolicies 'RSV-01/AzureSqlProtectionPolicy' failed with message '{
  "error": {
    "code": "BMSUserErrorInvalidPolicyInput",
    "message": "Input for create or update policy is not in proper format. Please check format of parameters like schedule time, schedule days, retention time and retention days "
  }
}'
At line:1 char:1
+ New-AzureRmResourceGroupDeployment -Name testing -ResourceGroupName p ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

New-AzureRmResourceGroupDeployment : 5:14:16 PM - Template output evaluation skipped: at least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.
At line:1 char:1
+ New-AzureRmResourceGroupDeployment -Name testing -ResourceGroupName p ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet

New-AzureRmResourceGroupDeployment : 5:14:16 PM - Template output evaluation skipped: at least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.
At line:1 char:1
+ New-AzureRmResourceGroupDeployment -Name testing -ResourceGroupName p ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [New-AzureRmResourceGroupDeployment], Exception
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.NewAzureResourceGroupDeploymentCmdlet



DeploymentName          : testing
ResourceGroupName       : ptech-testing
ProvisioningState       : Failed
Timestamp               : 3/15/2022 10:14:12 PM
Mode                    : Incremental
TemplateLink            :
Parameters              :
Outputs                 :
DeploymentDebugLogLevel :
@jeffpatton1971 jeffpatton1971 added the bug Something isn't working label Mar 15, 2022
jeffpatton1971 added a commit that referenced this issue Mar 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant