Skip to content

Commit

Permalink
removed double role assignment
Browse files Browse the repository at this point in the history
Removed double role assignment for ID '8ebe5a00-799e-43f5-93ac-243d3dce84a7' (Search Index Data Contributor).
  • Loading branch information
cplemm authored Oct 18, 2024
1 parent 1b1b83c commit 4ba46ff
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions infra/hooks/roles.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,8 @@ az role assignment create \
--scope /subscriptions/"${AZURE_SUBSCRIPTION_ID}"/resourceGroups/"${AZURE_OPENAI_RESOURCE_GROUP}" \
--assignee-principal-type 'User'

az role assignment create \
--role "8ebe5a00-799e-43f5-93ac-243d3dce84a7" \
--assignee-object-id "${PRINCIPAL_ID}" \
--scope /subscriptions/"${AZURE_SUBSCRIPTION_ID}"/resourceGroups/"${AZURE_OPENAI_RESOURCE_GROUP}" \
--assignee-principal-type 'User'

az role assignment create \
--role "5e0bd9bd-7b93-4f28-af87-19fc36ad61bd" \
--assignee-object-id "${PRINCIPAL_ID}" \
--scope /subscriptions/"${AZURE_SUBSCRIPTION_ID}"/resourceGroups/"${AZURE_OPENAI_RESOURCE_GROUP}" \
--assignee-principal-type 'User'
--assignee-principal-type 'User'

0 comments on commit 4ba46ff

Please sign in to comment.