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.
1 parent 09e5067 commit d99ff95Copy full SHA for d99ff95
eng/common/TestResources/New-TestResources.ps1
@@ -289,7 +289,7 @@ try {
289
$AzureTestPrincipal
290
} else {
291
Log "TestApplicationId was not specified; creating a new service principal in subscription '$SubscriptionId'"
292
- $global:AzureTestPrincipal = New-AzADServicePrincipal -Role Owner -Scope "/subscriptions/$SubscriptionId"
+ $global:AzureTestPrincipal = New-AzADServicePrincipal -Role Owner -Scope "/subscriptions/$SubscriptionId" -DisplayName "test-resources-$($baseName).microsoft.com"
293
$global:AzureTestSubscription = $SubscriptionId
294
295
Log "Created service principal '$($AzureTestPrincipal.ApplicationId)'"
0 commit comments