last sync: 2020-Dec-01 15:11:26 UTC

Azure Policy definition

[Deprecated]: Ensure that Register with Azure Active Directory is enabled on Function App

Name [Deprecated]: Ensure that Register with Azure Active Directory is enabled on Function App
Azure Portal
Id f0473e7a-a1ba-4e86-afb2-e829e11b01d8
Version 1.0.0-deprecated
details on versioning
Category App Service
Microsoft docs
Description This policy is a duplicate of the respective Managed Identity policies. Please use /providers/Microsoft.Authorization/policyDefinitions/0da106f2-4ca3-48e8-bc85-c638fe6aea8f instead.
Mode Indexed
Type BuiltIn
Preview FALSE
Deprecated True
Effect Default: AuditIfNotExists
Allowed: (AuditIfNotExists, Disabled)
Used RBAC Role none
History
Date/Time (UTC ymd) (i) Change type Change detail
2020-09-02 14:03:46 change Previous DisplayName: Ensure that Register with Azure Active Directory is enabled on Function App
2019-11-12 19:11:12 add f0473e7a-a1ba-4e86-afb2-e829e11b01d8
Used in Initiatives none
Json
{
  "properties": {
  "displayName": "[Deprecated]: Ensure that Register with Azure Active Directory is enabled on Function App",
    "policyType": "BuiltIn",
    "mode": "Indexed",
    "description": "This policy is a duplicate of the respective Managed Identity policies. Please use /providers/Microsoft.Authorization/policyDefinitions/0da106f2-4ca3-48e8-bc85-c638fe6aea8f instead.",
    "metadata": {
      "version": "1.0.0-deprecated",
      "category": "App Service",
      "deprecated": true
    },
    "parameters": {
      "effect": {
        "type": "String",
        "metadata": {
        "displayName": "[Deprecated]: Effect",
          "description": "Enable or disable the execution of the policy"
        },
        "allowedValues": [
          "AuditIfNotExists",
          "Disabled"
        ],
        "defaultValue": "AuditIfNotExists"
      }
    },
    "policyRule": {
      "if": {
        "allOf": [
          {
            "field": "type",
            "equals": "Microsoft.Web/sites"
          },
          {
            "field": "kind",
            "like": "functionapp*"
          }
        ]
      },
      "then": {
      "effect": "[parameters('effect')]",
        "details": {
          "type": "Microsoft.Web/sites/config",
          "name": "web",
          "existenceCondition": {
            "field": "Microsoft.Web/sites/config/web.managedServiceIdentityId",
            "exists": "true"
          }
        }
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/f0473e7a-a1ba-4e86-afb2-e829e11b01d8",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "f0473e7a-a1ba-4e86-afb2-e829e11b01d8"
}