Skip to content

Commit b84cd26

Browse files
test
1 parent a2328c0 commit b84cd26

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

infra/scripts/run_create_index_scripts.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ aiSearchName="$6"
1010
aif_resource_id="$7"
1111

1212
echo "Script Started"
13-
echo "aif_resource_id in run_create: $aif_resource_id"
13+
1414
# Authenticate with Azure
1515
if az account show &> /dev/null; then
1616
echo "Already authenticated with Azure."
@@ -68,7 +68,6 @@ fi
6868

6969
### Assign Azure AI User role to the signed in user ###
7070

71-
echo "Azure AI resource id: $aif_resource_id"
7271
# Check if the user has the Azure AI User role
7372
echo "Checking if user has the Azure AI User role"
7473
role_assignment=$(MSYS_NO_PATHCONV=1 az role assignment list --role 53ca6127-db72-4b80-b1b0-d745d6d5456d --scope $aif_resource_id --assignee $signed_user_id --query "[].roleDefinitionId" -o tsv)

0 commit comments

Comments
 (0)