ericOnline
ericOnline

Reputation: 1967

Why unable to use Application Insights with Azure Function?

I'm recreating an Azure Function in a different Resource Group.

Specifics:

Issue:

Error:

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.

enter image description here

Why is this? I'm literally duplicating a resource I already created in a different RG and it DOES have App Insights enabled.

Upvotes: 1

Views: 2942

Answers (1)

suziki
suziki

Reputation: 14088

As you mentioned in the comment, this is a transient issue. Sometimes azure portal will occur some strange issue, you can create a new resource or try again the next day.

For your question, even if the application insight can't be created when you create the function app because of some issues, you can also link to the application insight after you create the function app.

enter image description here

enter image description here

Upvotes: 4

Related Questions