Unable to turn on Application Insights while creating Function App with non-Owner user

Kent010341 231 Reputation points
2022-02-22T07:48:05.957+00:00

The setting I used:

176618-%E5%9C%96%E7%89%87.png

And this image shows the difference between Owner and another user trying to enable Application Insights:

176619-%E5%9C%96%E7%89%87.png

The user has a "Contributor" role at the resource group "DefaultResourceGroup-SEA" scope which I use for this function app.

The error message is:
Application Insights code-less monitoring isn't supported with your selections of subscription, runtime stack, operating system, publish type, region, or resource group. If you want to keep these selections, you can use the Application Insights SDK to monitor your app.

Is there any missing role or setting for this?

Thanks.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,261 questions
Azure Role-based access control
Azure Role-based access control
An Azure service that provides fine-grained access management for Azure resources, enabling you to grant users only the rights they need to perform their jobs.
666 questions
{count} votes

Accepted answer
  1. MughundhanRaveendran-MSFT 12,421 Reputation points
    2022-02-22T14:58:20.943+00:00

    @KentChen-2307 ,

    Thanks for reaching out to Q&A.

    Providing Contributor access to the user at the subscription level scope should resolve this issue. A contributor at subscription level should be able to create the resources including App insights.

    I hope this helps!

    Please 'Accept as answer' and ‘Upvote’ if it helped so that it can help others in the community looking for help on similar topics.

    2 people found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful