Skip to content

Commit

Permalink
Merge pull request Azure-Samples#234 from cplemm/main
Browse files Browse the repository at this point in the history
removed double role assignment for role "8ebe5a00-799e-43f5-93ac-243d3dce84a7" (Search Index Data Contributor) in ./infra/hooks/roles.sh
  • Loading branch information
marlenezw authored Oct 30, 2024
2 parents 27f145b + 896be09 commit cd12f15
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 cd12f15

Please sign in to comment.