Using microsoft learn sandbox to create a database server with Azure but I encounter a validation error. How do I fix this?

Donovan Matson 1 Reputation point
2022-09-05T18:31:13.357+00:00

here is the error summary followed by the raw error.

Error Summary:

Deployment template validation failed: 'Template parameter 'minCapacity' was provided an invalid value. Expected a value of type 'String, Uri', but received a value of type 'Integer'. Please see https://aka.ms/resource-manager-parameter-files for usage details.'. (Code: InvalidTemplate)

Raw Error:

{
"code": "InvalidTemplate",
"message": "Deployment template validation failed: 'Template parameter 'minCapacity' was provided an invalid value. Expected a value of type 'String, Uri', but received a value of type 'Integer'. Please see https://aka.ms/resource-manager-parameter-files for usage details.'.",
"additionalInfo": [
{
"type": "TemplateViolation",
"info": {
"lineNumber": 266,
"linePosition": 26,
"path": "properties.template.parameters.minCapacity.type"
}
}
]
}

Not sure what any of this means or if its fixable on my end but trying to study up for an assessment test due in 4 days in hopes of getting an IT job and apparently they rely on Azure services quite a bit. Not sure if what I'm learning at the moment is overkill though but I am trying to get through all the training that seems to be linked together to hopefully give myself a better edge on the assessment test.

for further clarification I will provide a link to the educational resource I am using that is supposed to teach me how to create this server below.

https://learn.microsoft.com/en-us/learn/modules/azure-database-fundamentals/exercise-create-sql-database

Not Monitored
Not Monitored
Tag not monitored by Microsoft.
35,771 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Dave Patrick 426K Reputation points MVP
    2022-09-05T18:59:25.053+00:00

    Microsoft Certification Program is supported on their own forums. I'd try asking for help with course issues in dedicated forums here. (Participate\Ask A Question)
    Courses and Course Content/Course Content Issue
    Troubleshooting known issues
    Content Reporting

    --please don't forget to upvote and Accept as answer if the reply is helpful--

    0 comments No comments

  2. Daniel Romero 1 Reputation point
    2022-11-11T23:55:36.37+00:00

    clear cache or try in Incognito

    0 comments No comments