{"id":4822,"date":"2016-03-30T00:00:00","date_gmt":"2016-03-30T07:00:00","guid":{"rendered":""},"modified":"2025-06-26T05:10:52","modified_gmt":"2025-06-26T12:10:52","slug":"debugging-arm-template-deployments","status":"publish","type":"post","link":"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/","title":{"rendered":"Debugging ARM template deployments"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">We added a new feature to make it easier for you to debug template deployment failures. With this new ability, you can get the request content, the response content, or both, for each deployment operation associated with your deployment. This information is really helpful in many scenarios as you can see the exact content sent or returned back for each deployment operation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can enable this from either PowerShell or CLI while creating a new deployment. In PowerShell, we have added a new parameter on New-AzureRmResourceGroupDeployment to enable this setting.<\/p>\n\n\n\n<figure class=\"wp-block-image has-custom-border\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2016\/03\/36b32d69-31e6-4d11-b956-cf9a0f43590b.webp\" alt=\"image\" style=\"border-radius:0px\" title=\"image\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">As you can see above, there are three main supported options.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li class=\"wp-block-list-item\"><strong>RequestContent: <\/strong>If this value is set,\u00a0 the content associated with the http request for each deployment operation will be logged. The type of content is JToken. The content of the write request of the operation will be logged. The content of the following requests to check the status of async operation will not be logged.Example \u2013 the content for PUT in case of create resource, POST for listKeys etc..<\/li>\n\n\n\n<li class=\"wp-block-list-item\"><strong>ResponseContent: <\/strong>If this value is set, the content associated with the http response for each deployment operation will be logged. It will be the content of the last response of that operation.<\/li>\n\n\n\n<li class=\"wp-block-list-item\"><strong>All <\/strong>\u2013 If this value is set, both the request content and response content for each deployment operation will be logged.<\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> Be careful when logging debug details. You can potentially log and expose secrets like passwords used in the resource property or listKeys operations that are then returned when you retrieve the deployment operations.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In CLI, you can apply the same setting as follows:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nazure group deployment create --debug-setting\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Lets deploy a simple template to see how you can use this additional information for debugging.\u00a0 In this example, I used <a href=\"https:\/\/github.com\/Azure\/azure-quickstart-templates\/tree\/master\/101-vm-simple-windows\">this template<\/a> from quick start gallery which provisions a Windows Virtual Machine. I made some changes to it and tried to deploy it.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The deployment failed with the following message:<\/p>\n\n\n\n<figure class=\"wp-block-image has-custom-border\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2016\/03\/44d2be04-d7c1-458e-b916-604c36d632d6.webp\" alt=\"image\" style=\"border-radius:0px\" title=\"image\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">From above message, it\u2019s clear that there was something wrong with the size of the Virtual Machine. But it doesn\u2019t tell you what size was chosen and why it failed as a result. Now with this new feature, you can get the request content that was sent with each operation in the deployment. So, if this setting was enabled when creating the deployment as described above, we can run the following command to get the operations:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n$operations = Get-AzureRmResourceGroupDeploymentOperation \u2013DeploymentName \u2013ResourceGroupName\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">This will give you all the operations that were part of this deployment. The request and response content for each operation could be retrieved from the property bag as follows:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n$operations[0].Properties.Request\n$operations[0].Properties.Response\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Instead of going through the property of each operation to figure out the issue, you can get the request and response content for every deployment operation as follows:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nforeach($operation in $operations)\n\n{\n    Write-Host $operation.id\n    Write-Host \"Request:\"\n    $operation.Properties.Request | ConvertTo-Json -Depth 10\n    Write-Host \"Response:\"\n    $operation.Properties.Response | ConvertTo-Json -Depth 10\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">For one such operation, the request and response looks like below-<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nRequest: \n\n{\n    \"Content\": {\n        \"Location\": \"westus\",\n        \"Properties\": {\n            \"HardwareProfile\": {\n                \"VmSize\": \"[concat(u0027Standardu0027,u0027_D1u0027\"\n            },\n            \"OsProfile\": {\n                \"ComputerName\": \"SimpleWindowsVM\"\n            },\n            \"StorageProfile\": {\n                \"ImageReference\": {\n                    \"Publisher\": \"MicrosoftWindowsServer\",\n                    \"Offer\": \"WindowsServer\",\n                    \"Sku\": \"2012-R2-Datacenter\",\n                    \"Version\": \"latest\"\n                },\n                \"OsDisk\": {\n                    \"Name\": \"osdisk\",\n                    \"Vhd\": {\n                        \"Uri\": \"https:\/\/xxyy.blob.core.windows.net\/vhds\/osdiskforwindowssimple.vhd\"\n                    },\n                    \"Caching\": \"ReadWrite\",\n                    \"CreateOption\": \"FromImage\"\n                },\n                \"DataDisks\": [{\n                    \"Name\": \"datadisk1\",\n                    \"DiskSizeGB\": \"100\",\n                    \"Lun\": 0,\n                    \"Vhd\": {\n                        \"Uri\": \"https:\/\/xxyy.blob.core.windows.net\/vhds\/datadisk1.vhd\"\n                    },\n                    \"CreateOption\": \"Empty\"\n                }]\n            },\n            \"NetworkProfile\": {\n                \"NetworkInterfaces\": [{\n                    \"Id\": \"\/subscriptions\/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx\/resourceGro\n                               ups\/ravdeleterg4\/providers\/Microsoft.Network\/networkInterfaces\/myVMNic\"\n                }]\n            },\n            \"DiagnosticsProfile\": {\n                \"BootDiagnostics\": {\n                    \"Enabled\": \"true\",\n                    \"StorageUri\": \"https:\/\/xxyy.blob.core.windows.net\"\n                }\n            }\n        }\n    }\n}\nResponse:\n\n {\n    \"Content\": {\n        \"Error\": {\n            \"Code\": \"InvalidParameter\",\n            \"Target\": \"vmSize\",\n            \"Message\": \"The value of parameter vmSize is invalid.\"\n        }\n    }\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">The above clearly shows the value that was being set for the VmSize. This was a very basic scenario. But such information could be extremely valuable when debugging complex templates which includes nested deployments, complex objects etc.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Please let us know if you find this useful and any feedback you might have!<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To get more information troubleshooting deployment failures, read this documentation <a href=\"https:\/\/azure.microsoft.com\/en-us\/documentation\/articles\/resource-manager-troubleshoot-deployments-portal\/\">article<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We added a new feature to make it easier for you to debug template deployment failures.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ms_queue_id":[],"ep_exclude_from_search":false,"_classifai_error":"","_classifai_text_to_speech_error":"","_alt_title":"","footnotes":"","msx_community_cta_settings":[]},"categories":[1482],"tags":[],"audience":[3054,3053],"content-type":[1511],"product":[1646],"tech-community":[],"topic":[],"coauthors":[97],"class_list":["post-4822","post","type-post","status-publish","format-standard","hentry","category-management-and-governance","audience-business-decision-makers","audience-it-decision-makers","content-type-best-practices","product-cloud-shell","review-flag-1680286581-295","review-flag-1680286584-658","review-flag-new-1680286579-546"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Debugging ARM template deployments | Microsoft Azure Blog<\/title>\n<meta name=\"description\" content=\"We added a new feature to make it easier for you to debug template deployment failures.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Debugging ARM template deployments | Microsoft Azure Blog\" \/>\n<meta property=\"og:description\" content=\"We added a new feature to make it easier for you to debug template deployment failures.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft Azure Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/microsoftazure\" \/>\n<meta property=\"article:published_time\" content=\"2016-03-30T07:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-06-26T12:10:52+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2016\/03\/36b32d69-31e6-4d11-b956-cf9a0f43590b.webp\" \/>\n<meta name=\"author\" content=\"Microsoft Azure\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@azure\" \/>\n<meta name=\"twitter:site\" content=\"@azure\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Microsoft Azure\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/\"},\"author\":[{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/microsoft-azure\/\",\"@type\":\"Person\",\"@name\":\"Microsoft Azure\"}],\"headline\":\"Debugging ARM template deployments\",\"datePublished\":\"2016-03-30T07:00:00+00:00\",\"dateModified\":\"2025-06-26T12:10:52+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/\"},\"wordCount\":531,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2016\/03\/36b32d69-31e6-4d11-b956-cf9a0f43590b.webp\",\"articleSection\":[\"Management and governance\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/\",\"name\":\"Debugging ARM template deployments | Microsoft Azure Blog\",\"isPartOf\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2016\/03\/36b32d69-31e6-4d11-b956-cf9a0f43590b.webp\",\"datePublished\":\"2016-03-30T07:00:00+00:00\",\"dateModified\":\"2025-06-26T12:10:52+00:00\",\"description\":\"We added a new feature to make it easier for you to debug template deployment failures.\",\"breadcrumb\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#primaryimage\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2016\/03\/36b32d69-31e6-4d11-b956-cf9a0f43590b.webp\",\"contentUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2016\/03\/36b32d69-31e6-4d11-b956-cf9a0f43590b.webp\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog home\",\"item\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Management and governance\",\"item\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/category\/management-and-governance\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Debugging ARM template deployments\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#website\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\",\"name\":\"Microsoft Azure Blog\",\"description\":\"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.\",\"publisher\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\",\"name\":\"Microsoft Azure Blog\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp\",\"contentUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp\",\"width\":512,\"height\":512,\"caption\":\"Microsoft Azure Blog\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/microsoftazure\",\"https:\/\/x.com\/azure\",\"https:\/\/www.instagram.com\/microsoftdeveloper\/\",\"https:\/\/www.linkedin.com\/company\/16188386\",\"https:\/\/www.youtube.com\/user\/windowsazure\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/person\/c702e5edd662b328b49b7e1180cab117\",\"name\":\"shakir\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g7664e653ea371ce16eaf75e9fa8952c4\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g\",\"caption\":\"shakir\"},\"sameAs\":[\"https:\/\/azure.microsoft.com\"],\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/shakir\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Debugging ARM template deployments | Microsoft Azure Blog","description":"We added a new feature to make it easier for you to debug template deployment failures.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/","og_locale":"en_US","og_type":"article","og_title":"Debugging ARM template deployments | Microsoft Azure Blog","og_description":"We added a new feature to make it easier for you to debug template deployment failures.","og_url":"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/","og_site_name":"Microsoft Azure Blog","article_publisher":"https:\/\/www.facebook.com\/microsoftazure","article_published_time":"2016-03-30T07:00:00+00:00","article_modified_time":"2025-06-26T12:10:52+00:00","og_image":[{"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2016\/03\/36b32d69-31e6-4d11-b956-cf9a0f43590b.webp","type":"","width":"","height":""}],"author":"Microsoft Azure","twitter_card":"summary_large_image","twitter_creator":"@azure","twitter_site":"@azure","twitter_misc":{"Written by":"Microsoft Azure","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#article","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/"},"author":[{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/microsoft-azure\/","@type":"Person","@name":"Microsoft Azure"}],"headline":"Debugging ARM template deployments","datePublished":"2016-03-30T07:00:00+00:00","dateModified":"2025-06-26T12:10:52+00:00","mainEntityOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/"},"wordCount":531,"commentCount":0,"publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2016\/03\/36b32d69-31e6-4d11-b956-cf9a0f43590b.webp","articleSection":["Management and governance"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/","name":"Debugging ARM template deployments | Microsoft Azure Blog","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#primaryimage"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2016\/03\/36b32d69-31e6-4d11-b956-cf9a0f43590b.webp","datePublished":"2016-03-30T07:00:00+00:00","dateModified":"2025-06-26T12:10:52+00:00","description":"We added a new feature to make it easier for you to debug template deployment failures.","breadcrumb":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#primaryimage","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2016\/03\/36b32d69-31e6-4d11-b956-cf9a0f43590b.webp","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2016\/03\/36b32d69-31e6-4d11-b956-cf9a0f43590b.webp"},{"@type":"BreadcrumbList","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/debugging-arm-template-deployments\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog home","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/"},{"@type":"ListItem","position":2,"name":"Management and governance","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/category\/management-and-governance\/"},{"@type":"ListItem","position":3,"name":"Debugging ARM template deployments"}]},{"@type":"WebSite","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","name":"Microsoft Azure Blog","description":"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.","publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/azure.microsoft.com\/en-us\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization","name":"Microsoft Azure Blog","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","width":512,"height":512,"caption":"Microsoft Azure Blog"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/microsoftazure","https:\/\/x.com\/azure","https:\/\/www.instagram.com\/microsoftdeveloper\/","https:\/\/www.linkedin.com\/company\/16188386","https:\/\/www.youtube.com\/user\/windowsazure"]},{"@type":"Person","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/person\/c702e5edd662b328b49b7e1180cab117","name":"shakir","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g7664e653ea371ce16eaf75e9fa8952c4","url":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g","caption":"shakir"},"sameAs":["https:\/\/azure.microsoft.com"],"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/shakir\/"}]}},"msxcm_display_generated_audio":false,"msxcm_animated_featured_image":null,"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Microsoft Azure Blog","distributor_original_site_url":"https:\/\/azure.microsoft.com\/en-us\/blog","push-errors":false,"_links":{"self":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/4822","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/comments?post=4822"}],"version-history":[{"count":1,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/4822\/revisions"}],"predecessor-version":[{"id":43774,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/4822\/revisions\/43774"}],"wp:attachment":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/media?parent=4822"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/categories?post=4822"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tags?post=4822"},{"taxonomy":"audience","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/audience?post=4822"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/content-type?post=4822"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/product?post=4822"},{"taxonomy":"tech-community","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tech-community?post=4822"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/topic?post=4822"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/coauthors?post=4822"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}