orange-dog-73995
10/12/2020, 8:04 AMvar pipeline_vui = new VirtualMachineExtension("pipeline-vui", new VirtualMachineExtensionArgs
{
VmExtensionName = "TeamServicesAgent",
Publisher = "Microsoft.VisualStudio.Services",
Location = _resourceGroup.Location,
ResourceGroupName = _resourceGroup.Name,
VmName = "vui",
Settings = new Dictionary<string, object>{
{
"AzureDevOpsOrganizationUrl", "<https://dev.azure.com/xxxxxxx>"
},
{
"TeamProject", "xxxx"
},
{
"DeploymentGroup", "Dev-Test environment"
},
{
"AgentName", "test-vui"
},
{
"Tags", "Test"
}
},
ProtectedSettings = new Dictionary<string, object>{
{
"PATToken", "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
}
},
Type = "TeamServicesAgent",
TypeHandlerVersion = "1.0",
AutoUpgradeMinorVersion = true,
});
And error is:
error: Code="VMExtensionProvisioningError" Message="VM has reported a failure when processing extension 'TeamServicesAgent'. Error message: \"The extension received an incorrect input. Please correct the input and try again. More details: AzureDevOpsOrganizationUrl should be specified.\"\r\n\r\nMore information on troubleshooting is available at https://aka.ms/vmextensionwindowstroubleshoot "tall-librarian-49374
10/12/2020, 8:22 AMorange-dog-73995
10/12/2020, 8:27 AMtall-librarian-49374
10/12/2020, 8:27 AMorange-dog-73995
10/12/2020, 8:49 AM