@@ -116,16 +116,25 @@ if(![string]::IsNullOrEmpty($SSISDBServerEndpoint))
116
116
}
117
117
```
118
118
119
+ ## Get Azure Batch application ID
120
+
121
+ 1 . Navigate to [ Azure portal] ( https://portal.azure.com ) .
122
+ 1 . In the search bar, type ` Microsoft Azure Batch ` , and select it from the drop-down list, under ** Microsoft Entra ID** .
123
+ 1 . On the ** Microsoft Azure Batch** page, note down or copy the ** Application ID** to the clipboard.
124
+ 1 . In the following script, set the ` $eventGridAppId ` variable to this value before running it.
125
+
119
126
## Configure a virtual network
120
127
121
128
Add the following script to automatically configure virtual network permissions and settings for your Azure-SSIS integration runtime to join.
122
129
123
130
``` powershell
124
131
# Make sure to run this script against the subscription to which the virtual network belongs
132
+
133
+ $BatchApplicationId = "[REPLACE_WITH_AZURE_BATCH_APP_ID]"
134
+
125
135
if(![string]::IsNullOrEmpty($VnetId) -and ![string]::IsNullOrEmpty($SubnetName))
126
136
{
127
137
# Register to the Azure Batch resource provider
128
- $BatchApplicationId = "ddbf3205-c6bd-46ae-8127-60eb93363864"
129
138
$BatchObjectId = (Get-AzADServicePrincipal -ServicePrincipalName $BatchApplicationId).Id
130
139
Register-AzResourceProvider -ProviderNamespace Microsoft.Batch
131
140
while(!(Get-AzResourceProvider -ProviderNamespace "Microsoft.Batch").RegistrationState.Contains("Registered"))
@@ -433,13 +442,15 @@ if(![string]::IsNullOrEmpty($SSISDBServerEndpoint))
433
442
}
434
443
}
435
444
}
436
-
437
445
### Configure a virtual network
446
+
438
447
# Make sure to run this script against the subscription to which the virtual network belongs
448
+
449
+ $BatchApplicationId = "[REPLACE_WITH_AZURE_BATCH_APP_ID]"
450
+
439
451
if(![string]::IsNullOrEmpty($VnetId) -and ![string]::IsNullOrEmpty($SubnetName))
440
452
{
441
453
# Register to the Azure Batch resource provider
442
- $BatchApplicationId = "ddbf3205-c6bd-46ae-8127-60eb93363864"
443
454
$BatchObjectId = (Get-AzADServicePrincipal -ServicePrincipalName $BatchApplicationId).Id
444
455
Register-AzResourceProvider -ProviderNamespace Microsoft.Batch
445
456
while(!(Get-AzResourceProvider -ProviderNamespace "Microsoft.Batch").RegistrationState.Contains("Registered"))
0 commit comments