ResourceNotFound: The Resource 'Microsoft.Web/sites/xxxx' under resource group 'xxxx' was not found (triaged)

v-masebo 21 Reputation points
2020-11-17T17:18:50.61+00:00
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,639 questions
{count} votes

Accepted answer
  1. Grmacjon-MSFT 17,886 Reputation points
    2020-11-18T08:11:05.04+00:00

    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

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.