@Moshe Raab, PhD Thanks for reaching out. As per the error message as you don't have the write (Microsoft.Web/sites/Write) permission on the function app that is the reason you are getting error. You can review the RBAC role provided on your function app. Similar discussion here.
Test/Run button is disabled on my Function App page
Moshe Raab, PhD
236
Reputation points
I have an Azure Function App that i would like to test and debug. when i select Code + Test from the menu and then select the function, the button Test/Run is disabled.
and in the logs an error message appears:
Unable to establish a link to Application Insights. Please ensure that you have write permissions on your Function app