Azure / Azure/azure-quickstart-templates

Issue While Registration of Self Hosted Integration Runtime

Open
#7,592 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Bicep
Stars
14.9k
Forks
16.2k
Avg merge
6d 21h
Merged PRs (30d)
6

Description

Facing issue while deploying the azuredeploy.json file from "https://github.com/Azure/azure-quickstart-templates/tree/master/101-vms-with-selfhost-integration-runtime".

The Template is able to create all the infrastructures but facing issue while running gatewayInstall.ps1 script which is called from IRInstall.json template file.

The issue is occurring during gateway registration with the SelfHostedIntegration Runtime in ADF. Please find the error log.

**{
"status": "Failed",
"error": {
"code": "ResourceDeploymentFailure",
"message": "The resource operation completed with terminal provisioning state 'Failed'.",
"details": [
{
"code": "VMExtensionProvisioningError",
"message": "VM has reported a failure when processing extension 'vm0-VMIRinstallGW'. Error message: \"Command execution finished, but failed because it returned a non-zero exit code of: '1'. The command had an error output of: 'At C:\\Packages\\Plugins\\Microsoft.Compute.CustomScriptExtension\\1.10.8\\Downloads\r\n\\0\\gatewayInstall.ps1:144 char:21\r\n+ Sign up\r\n+ ~\r\nThe ampersand (&) character is not allowed. The & operator is reserved for \r\nfuture...' For more information, check the instance view by executing Get-AzVmssVm or Get-AzVm (https://aka.ms/GetAzVm). These commands can be executed using CloudShell (https://aka.ms/CloudShell)\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/VMExtensionCSEWindowsTroubleshoot "
}
]
}
}**

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with azuredeploy.json and IRInstall.json in the 101-vms-with-selfhost-integration-runtime template, then inspect gatewayInstall.ps1 around line 144. Reproduce the deployment and review the VM extension output for the PowerShell parsing failure. Done means the template deploys successfully and the self-hosted integration runtime registers in ADF.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, powershell
Domain
cloud, infrastructure
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.