Function key of function app change every 15 day
The function key change every 15 days without deployment or action on the function
Only activity in the activity log of the function is the list key to get the new key of the function
Investigative information
Please provide the following:
2022-07-11 12:37:41.831 Executing 'XXXXX' (Reason='This function was programmatically called via the host APIs.', Id=011ee644-3e30-4145-89fa-ce786cd436ee)
- Region: West Europe
Repro steps
Provide the steps required to reproduce the problem:
- Deploy function
- Deploy Logic app connecting to the function
- Wait 15 day
- Logic app cannot connect anymore with 401 error.
Expected behavior
Provide a description of the expected behavior.
- After 15 days the logic app should still be able to connect to the function app.
Actual behavior
Provide a description of the actual behavior observed.
- After 15 days the logic app cannot connect to the function as the function key has changed.
Known workarounds
Update the function code in the logic app every 15 days
Related information
Provide any related information
- Programming language used : c#
Hi @Hector47 Thank you for the feedback, we will discuss this issue internally and let you know about the findings
Hello, It just did it again.
Thanks for your help
Hi @Hector47 I Would suggest to create a new function app key manually by yourself and then use it. It may help with your problem, Please try this and let us know. Thanks!
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 4 days. It will be closed if no further activity occurs within 3 days of this comment.
Hello, After more test, I can see that even the host keys are changing.
I have created additional function key to test. Also, I have updated the runtime version to ~3 to see if this change something.
I will update this issue in one week (15 days from last occurrence)
Thanks for your help
Hi @fabiocav Do you have any inputs on this?
@Hector47 Do you have any life cycle management policy enabled which cleans up your storage blobs periodically? You should exclude the storage used by function app from that.
@Hector47 Do you have any life cycle management policy enabled which cleans up your storage blobs periodically? You should exclude the storage used by function app from that.
Thanks @kshyju, indeed there is one policy in place on the storage.