You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 14, 2024. It is now read-only.
Am trying to create DevOps using ARM templates.
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"accountName": {
"type": "string",
"metadata": {
"description": "The name of the Visual Studio Team Services account, if it doesn't exist it will be created."
}
},
"projectName": {
"type": "string",
"metadata": {
"description": "The name of the Visual Studio Team Services project."
}
},
"location": {
"type": "string",
"defaultValue": "[resourceGroup().location]",
"metadata": {
"description": "Location for all resources."
}
},
"processTemplateId": {
"type": "string",
"defaultValue": "ADCC42AB-9882-485E-A3ED-7678F01F66BC",
"allowedValues": [
"6B724908-EF14-45CF-84F8-768B5384DA45",
"ADCC42AB-9882-485E-A3ED-7678F01F66BC",
"27450541-8E31-4150-9947-DC59F998FC01"
],
"metadata": {
"description": "Scrum: 6B724908-EF14-45CF-84F8-768B5384DA45 / Agile: ADCC42AB-9882-485E-A3ED-7678F01F66BC / CMMI: 27450541-8E31-4150-9947-DC59F998FC01"
}
},
"versionControlOption": {
"type": "string",
"defaultValue": "Git",
"allowedValues": [
"Git",
"Tfvc"
],
"metadata": {
"description": "The version control of the Visual Studio Team Services project's source code: Git or Tfvc."
}
}
},
"variables": {},
"resources": [
{
"name": "[parameters('accountname')]",
"type": "microsoft.visualstudio/account",
"location":"[parameters('location')]",
"apiVersion": "2014-02-26",
"properties": {
"accountName": "[parameters('accountName')]",
"operationType": "Link"
},
"resources": [
{
"type": "project",
"name": "[parameters('projectName')]",
"apiVersion": "2014-02-26",
"location":"[parameters('location')]",
"dependsOn": [
"[concat('microsoft.visualstudio/account/', parameters('accountName'))]"
],
"properties": {
"ProcessTemplateId": "[parameters('processTemplateId')]",
"VersionControlOption": "[parameters('versionControlOption')]"
}
}
]
}
]
}
But it is failing with following error
'{
"code": "InvalidRequestValue",
"message": "The requesting client principal is invalid.",
"target": "GetRequestorIdentity"
}'
Could someone help me througn this ?
The text was updated successfully, but these errors were encountered: