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: infra/scripts/run_create_index_scripts.sh
+1-2Lines changed: 1 addition & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -10,7 +10,7 @@ aiSearchName="$6"
10
10
aif_resource_id="$7"
11
11
12
12
echo"Script Started"
13
-
echo"aif_resource_id in run_create: $aif_resource_id"
13
+
14
14
# Authenticate with Azure
15
15
if az account show &> /dev/null;then
16
16
echo"Already authenticated with Azure."
@@ -68,7 +68,6 @@ fi
68
68
69
69
### Assign Azure AI User role to the signed in user ###
70
70
71
-
echo"Azure AI resource id: $aif_resource_id"
72
71
# Check if the user has the Azure AI User role
73
72
echo"Checking if user has the Azure AI User role"
74
73
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