How to Add Flexibility using Parameters and Outputs

Chukwunonso Nwankwo 0 Reputation points
2024-02-12T16:23:28.16+00:00

Please can someone help with a youtube training videos on how to run this lab in Azure because I couldn't run it successfully. https://learn.microsoft.com/en-us/training/modules/create-azure-resource-manager-template-vs-code/5-exercise-parameters-output?pivots=powershell&source=learn. What might be my error. I followed the lab but always sees error on the terminals and I couldn't deploy it. I was able to deploy ARM template but adding flexibility using parameters and output was a bottleneck for me. under unit 4/7 (Learn

  1. Training
  2. Browse
  3. Deploy Azure infrastructure by using JSON ARM templates)
Azure Training
Azure Training
Azure: A cloud computing platform and infrastructure for building, deploying and managing applications and services through a worldwide network of Microsoft-managed datacenters.Training: Instruction to develop new skills.
653 questions
{count} votes

1 answer

Sort by: Most helpful
  1. Mahesh Goud Juvvadi 90 Reputation points Microsoft Vendor
    2024-02-13T14:06:54.8266667+00:00

    Hi Chukwunonso Nwankwo,

    Thank you for contacting us on Microsoft Q&A forum.

    While deploying Azure Resource Manager (ARM) templates, problems often arise, especially when adding parameters and outputs for flexibility.

    **

    Please share us the error message screenshot you received.**

    Here are some basic steps to troubleshoot to follow:

    1.Please review your ARM template to make sure all resource definitions are correct, parameters are referenced properly, and the JSON syntax is valid. Even small mistakes in the JSON structure can cause deployment issues.  

    2.Make sure your Azure subscription has the right permissions to create the resources listed in the template. Deployment failures might happen if permissions are lacking.   

    Troubleshoot ARM template JSON deployments: https://learn.microsoft.com/en-us/azure/azure-resource-manager/troubleshooting/quickstart-troubleshoot-arm-deployment?tabs=azure-powershell    

    **

    Referral thread**: https://learn.microsoft.com/en-us/answers/questions/1444626/exercise-add-parameters-and-outputs-to-your-azure  

    Additionally, please find the below document link for your reference:
    https://learn.microsoft.com/en-us/azure/azure-resource-manager/templates/template-tutorial-create-first-template?tabs=azure-powershell

     If you feel that your quires have been resolved, please accept the answer by clicking the "Upvote" and "Accept Answer" on the post.  

    Thank you.

    0 comments No comments