Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 

Azure Policy Deny Sample

This policy sample will block users from setting HTTPs only to disabled on storage accounts. You can not deploy this via template deployment in the Azure Portal. You can deploy the template using Azure CLI or Azure PowerShell.

Azure PowerShell

New-AzDeployment -Location location -TemplateFile path-to-template

Azure CLI

az deployment create --location location --template-file path-to-template