You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/governance/policy/concepts/policy-for-kubernetes.md
+3-3Lines changed: 3 additions & 3 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -243,13 +243,13 @@ cluster service principal.
243
243
- Azure CLI
244
244
245
245
```azurecli-interactive
246
-
az ad sp create-for-rbac --role "Policy Insights Data Writer (Preview)" --scopes "/subscriptions/<subscriptionId>/resourceGroups/<rg>/Microsoft.Kubernetes/connectedClusters/<clusterName>"
246
+
az ad sp create-for-rbac --role "Policy Insights Data Writer (Preview)" --scopes "/subscriptions/<subscriptionId>/resourceGroups/<rg>/providers/Microsoft.Kubernetes/connectedClusters/<clusterName>"
# In below command, replace the following values with those gathered above.
280
-
# <AzureArcClusterResourceId> with your Azure Arc enabled Kubernetes cluster resource Id. For example: /subscriptions/<subscriptionId>/resourceGroups/<rg>/Microsoft.Kubernetes/connectedClusters/<clusterName>
280
+
# <AzureArcClusterResourceId> with your Azure Arc enabled Kubernetes cluster resource Id. For example: /subscriptions/<subscriptionId>/resourceGroups/<rg>/providers/Microsoft.Kubernetes/connectedClusters/<clusterName>
281
281
# <ServicePrincipalAppId> with app Id of the service principal created during prerequisites.
282
282
# <ServicePrincipalPassword> with password of the service principal created during prerequisites.
283
283
# <ServicePrincipalTenantId> with tenant of the service principal created during prerequisites.
0 commit comments