We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b62b6f1 commit 637d557Copy full SHA for 637d557
2 files changed
ai-services/gpt-video-analysis-in-a-box/azure.yaml
@@ -11,8 +11,8 @@ hooks:
11
interactive: true
12
continueOnError: false
13
posix:
14
- shell: pwsh
15
- run: ./scripts/setSPObjectId.ps1
+ shell: sh
+ run: ./scripts/setSPObjectId.sh
16
17
18
ai-services/gpt-video-analysis-in-a-box/scripts/setSPObjectID.sh
@@ -0,0 +1,9 @@
1
+#!/bin/bash
2
+
3
+# Get the signed-in user's ID
4
+spid=$(az ad signed-in-user show --query id --output tsv)
5
6
+# Set the environment variable AZURE_SP_OBJECT_ID
7
+export AZURE_SP_OBJECT_ID="$spid"
8
9
0 commit comments