Skip to content

Commit 2a66b55

Browse files
authored
Update join-azure-ssis-integration-runtime-virtual-network-powershell.md
1 parent e54ee3b commit 2a66b55

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

articles/data-factory/join-azure-ssis-integration-runtime-virtual-network-powershell.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,16 +35,25 @@ $FirstPublicIP = "[your first public IP address resource ID or leave it empty]"
3535
$SecondPublicIP = "[your second public IP address resource ID or leave it empty]"
3636
```
3737

38+
## Get Azure Batch application ID
39+
40+
1. Navigate to [Azure portal](https://portal.azure.com).
41+
1. In the search bar, type `Microsoft Azure Batch`, and select it from the drop-down list, under **Microsoft Entra ID**.
42+
1. On the **Microsoft Azure Batch** page, note down or copy the **Application ID** to the clipboard.
43+
1. In the following script, set the `$eventGridAppId` variable to this value before running it.
44+
3845
## Configure a virtual network
3946

4047
Before you can join your Azure-SSIS IR to a virtual network, you need to configure the virtual network. To automatically configure virtual network permissions and settings for your Azure-SSIS IR to join a virtual network, add the following script:
4148

4249
```powershell
4350
# Make sure to run this script against the subscription to which the virtual network belongs.
51+
52+
$BatchApplicationId = "[REPLACE_WITH_AZURE_BATCH_APP_ID]"
53+
4454
if(![string]::IsNullOrEmpty($VnetId) -and ![string]::IsNullOrEmpty($SubnetName))
4555
{
4656
# Register to the Azure Batch resource provider
47-
$BatchApplicationId = "ddbf3205-c6bd-46ae-8127-60eb93363864"
4857
$BatchObjectId = (Get-AzADServicePrincipal -ServicePrincipalName $BatchApplicationId).Id
4958
Register-AzResourceProvider -ProviderNamespace Microsoft.Batch
5059
while(!(Get-AzResourceProvider -ProviderNamespace "Microsoft.Batch").RegistrationState.Contains("Registered"))

0 commit comments

Comments
 (0)