Hi Matthew (@v-masebo ),
Thanks for bringing this issue to our attnetion. It looks like your question was recently answered by the product group on the same GitHub thread https://github.com/MicrosoftDocs/azure-devops-docs/issues/8206. Posting the response here as well:
"Turns out that the issue is related to adding Application Insights to a Web App. The syntax previously used has been deprecated and stopped working from one day to another. The issue can be fixed by altering the template as shown below:
Modify the node "type": "config" dependsOn
remove [resourceId('microsoft.insights/components/', ...
remove "Microsoft.ApplicationInsights.AzureWebSites"
add "[resourceId('microsoft.insights/components/', variables('[AppInsightsResourceNameHere'))]"
Thanks,
Grace