Creating Application Insights, You do not have prmission to create resource in the Resource Group specified

PauloMatos 170 Reputation points
2024-09-16T11:26:51.87+00:00

When I try to enable App Insights inside my function App I get the message

"Can't update settings without Application Insights resource."

Creating Application Insights, I get the message: You do not have permission to create resource in the Resource Group specified in the Field Log Analytics Workspace

What minimal permissions do I need to create resources in a Resource Group ?

Thank You very much for your help

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,273 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,999 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. PauloMatos 170 Reputation points
    2024-09-16T11:35:45.33+00:00

    I found the answer:

    The Contributor role allows users to create, update, and delete resources within a resource group, but they cannot grant access to other users. This role is appropriate for developers who need to manage resources in a specific resource group.

    anyway, thank you very much for your help

    have a nice day

    0 comments No comments

  2. PauloMatos 170 Reputation points
    2024-09-16T11:38:01.5233333+00:00

    I found the answer, thank you anyway

    The Contributor role allows users to create, update, and delete resources within a resource group, but they cannot grant access to other users. This role is appropriate for developers who need to manage resources in a specific resource group.

    0 comments No comments

  3. JananiRamesh-MSFT 27,181 Reputation points
    2024-09-16T17:04:45.7433333+00:00

    @PauloMatos Thanks for reaching out. I'm glad to see you were able to resolve your issue. Thanks for posting your solution so that others experiencing the same thing can easily reference this. Since the Microsoft Q&A community has a policy that the question author cannot accept their own answer, they can only accept answers by others, I'll repost your solution in case you'd like to Accept the answer.

    Issue: you would like to know about the minimal permissions required to create resources in a Resource Group in Azure.

    Solution:

    • Contributor role: This role allows you to create and manage all types of Azure resources within the Resource Group.
    • If using custom roles, you need the permission Microsoft.Resources/subscriptions/resourceGroups/write
    0 comments No comments

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.