We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 8f3d4eb + 9a187dd commit 9cd632aCopy full SHA for 9cd632a
articles/cognitive-services/immersive-reader/how-to-create-immersive-reader.md
@@ -105,6 +105,10 @@ The script is designed to be flexible. It will first look for existing Immersive
105
Write-Host "New service principal created successfully"
106
}
107
108
+ # Sleep for 5 seconds to allow the new service principal to propagate
109
+ Write-Host "Sleeping for 5 seconds"
110
+ Start-Sleep -Seconds 5
111
+
112
Write-Host "Granting service principal access to the newly created Immersive Reader resource"
113
$accessResult = az role assignment create --assignee $principalId --scope $resourceId --role "Cognitive Services User"
114
if (-not $accessResult) {
0 commit comments