last sync: 2021-Jan-18 16:05:48 UTC

Azure Policy definition

Audit delegation of scopes to a managing tenant

Name Audit delegation of scopes to a managing tenant
Azure Portal
Id 76bed37b-484f-430f-a009-fd7592dff818
Version 1.0.0
details on versioning
Category Lighthouse
Microsoft docs
Description Audit delegation of scopes to a managing tenant via Azure Lighthouse.
Mode All
Type BuiltIn
Preview FALSE
Deprecated FALSE
Effect Default: Audit
Allowed: (Audit, Disabled)
Used RBAC Role none
History
Date/Time (UTC ymd) (i) Change type Change detail
2019-10-29 23:04:36 add 76bed37b-484f-430f-a009-fd7592dff818
Used in Initiatives none
Json
{
  "properties": {
    "displayName": "Audit delegation of scopes to a managing tenant",
    "policyType": "BuiltIn",
    "mode": "All",
    "description": "Audit delegation of scopes to a managing tenant via Azure Lighthouse.",
    "metadata": {
      "version": "1.0.0",
      "category": "Lighthouse"
    },
    "parameters": {
      "effect": {
        "type": "String",
        "metadata": {
          "displayName": "Effect",
          "description": "Enable or disable the execution of the policy"
        },
        "allowedValues": [
          "Audit",
          "Disabled"
        ],
        "defaultValue": "Audit"
      }
    },
    "policyRule": {
      "if": {
        "allOf": [
          {
            "field": "type",
            "equals": "Microsoft.ManagedServices/registrationAssignments"
          },
          {
            "value": "true",
            "equals": "true"
          }
        ]
      },
      "then": {
      "effect": "[parameters('effect')]"
      }
    }
  },
  "id": "/providers/Microsoft.Authorization/policyDefinitions/76bed37b-484f-430f-a009-fd7592dff818",
  "type": "Microsoft.Authorization/policyDefinitions",
  "name": "76bed37b-484f-430f-a009-fd7592dff818"
}