Azure DevOps Starter is failing with error - Specified argument was out of the range of valid values. Parameter name: JobAuthorizationScope

Akuthota, Arunkumar 6 Reputation points
2022-10-12T04:25:27.38+00:00

Hi Team.

First created Azure DevOps organization. then tried creating the azure DevOps starter.

Please below two screenshots. I tried creating Azure DevOps Starter resource with GitHub.
Selected -> ASP.NET -> Simple IoT -> IoT Edge

This is creating the repository but it is failing as below error.

{"code":"DeploymentFailed","message":"At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.","details":[{"code":"ProjectNotFoundWithId","message":"Failed to create Azure Pipeline 'arun-694-edge-devops'. More details: 'Configuration failed at step: 'Configuring build pipeline'. More details: Specified argument was out of the range of valid values. Parameter name: JobAuthorizationScope.'. "}]}

deployment.json

{
"id": "/subscriptions/68322c8a-dbe7-4bb9-891e-27eb090b38da/resourceGroups/VstsRG-arun-694-azure-devops-d420/providers/Microsoft.Resources/deployments/Deploy_DevOps_Project_arun-694-edge-devops1",
"name": "Deploy_DevOps_Project_arun-694-edge-devops1",
"type": "Microsoft.Resources/deployments",
"tags": {
"primaryResourceId": "/subscriptions/68322c8a-dbe7-4bb9-891e-27eb090b38da/resourcegroups/VstsRG-arun-694-azure-devops-d420/providers/Microsoft.DevOps/pipelines/arun-694-edge-devops1",
"marketplaceItemId": "Microsoft.AzureProject"
},
"properties": {
"templateHash": "13530442306309834870",
"parameters": {
"azureAuth": {
"type": "SecureString"
}
},
"mode": "Incremental",
"debugSetting": {
"detailLevel": "None"
},
"provisioningState": "Failed",
"timestamp": "2022-10-12T03:01:12.1257126Z",
"duration": "PT1M19.9986986S",
"correlationId": "2159d21a-49f8-40af-9f09-6f266c55bf7a",
"providers": [
{
"namespace": "Microsoft.DevOps",
"resourceTypes": [
{
"resourceType": "pipelines",
"locations": [
"centralus"
]
}
]
}
],
"dependencies": [],
"error": {
"code": "DeploymentFailed",
"message": "At least one resource deployment operation failed. Please list deployment operations for details. Please see https://aka.ms/DeployOperations for usage details.",
"details": [
{
"code": "ProjectNotFoundWithId",
"message": "Failed to create Azure Pipeline 'arun-694-edge-devops1'. More details: 'Configuration failed at step: 'Configuring build pipeline'. More details: Specified argument was out of the range of valid values.\r\nParameter name: JobAuthorizationScope.'. "
}
]
}
}
}

deployment_operations.json
[
{
"id": "/subscriptions/68322c8a-dbe7-4bb9-891e-27eb090b38da/resourceGroups/VstsRG-arun-694-azure-devops-d420/providers/Microsoft.Resources/deployments/Deploy_DevOps_Project_arun-694-edge-devops1/operations/24A8BAC42B54B6B0",
"operationId": "24A8BAC42B54B6B0",
"properties": {
"provisioningOperation": "Create",
"provisioningState": "Failed",
"timestamp": "2022-10-12T03:01:11.5825447Z",
"duration": "PT1M18.6264172S",
"trackingId": "58faea2b-5378-4dfe-8612-24701241314a",
"statusCode": "NotFound",
"statusMessage": {
"status": "Failed",
"error": {
"code": "ProjectNotFoundWithId",
"target": "GetAzurePipelineOperation",
"message": "Failed to create Azure Pipeline 'arun-694-edge-devops1'. More details: 'Configuration failed at step: 'Configuring build pipeline'. More details: Specified argument was out of the range of valid values.\r\nParameter name: JobAuthorizationScope.'. "
}
},
"targetResource": {
"id": "/subscriptions/68322c8a-dbe7-4bb9-891e-27eb090b38da/resourceGroups/VstsRG-arun-694-azure-devops-d420/providers/Microsoft.DevOps/pipelines/arun-694-edge-devops1",
"resourceType": "Microsoft.DevOps/pipelines",
"resourceName": "arun-694-edge-devops1"
}
}
}
]

249477-image.png

249466-image.png

Azure IoT
Azure IoT
A category of Azure services for internet of things devices.
373 questions
{count} vote

2 answers

Sort by: Most helpful
  1. ChristianStorb-9122 1 Reputation point
    2022-10-26T12:37:23.18+00:00

    If you follow this guide Implement an IoT Edge CI/CD pipeline by using Azure DevOps Starter, the above error also occurs.

    0 comments No comments