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
echo"assigning contributor role to the service principal"
229
+
230
+
echo"assigning contributor role to managed identity over the $AZURE_SUBSCRIPTION_ID subscription"
231
+
# Note: Even though --assignee-principal-type ServicePrincipal is specified, this does not mean that the role assignment is for a secret of type service principal.
232
+
# Creating a role assignment for a managed identity using other assignee-principal-type from (Group, User, ForeignGroup) will lead to RBAC error.
233
+
# To avoid RBAC error, we need to assign the role to the managed identity using the --assignee-principal-type ServicePrincipal.
0 commit comments