My investigation about issue with customer:-
As we discussed in today’s session, I am writing to summarize the action we took as below.
We have checked the
AZURE_CLIENT_ID which was configured with system assigned Id which is supposed
to be the User assigned MSI's client ID but he has no requirement of the AZURE_CLIENT_ID, hence we removed and restarted the function but warning was still persisting.
We have also turned the system Identity turn off and back on again but the warning was still reflecting in the traces.
For the initial slowness reported, the cause was suggested as a cold start issue, but as you would like us to further investigate on the
warning
Firstly, I am going to address the issues mentioned in your last email.
I believe, the warning issue will go away, once we move to dedicated or elastic premium plan.
Secondly, the slowness issue of the function app that you are currently facing is a consequence of cold start. Since you are in consumption plan the cold start issue will persist as it does not have an Always On feature. While both the plan mentioned above have this feature and this is why the cold start issue is been controlled here.
To brief you about cold start issue:
A cold start is an increase in latency for Functions which haven't been called recently. When using Azure Functions in the dedicated plan, the Functions host is always running, which means that cold start isn't really an issue. So, our scope is narrowed to Functions running the serverless consumption model.