There is a counter property in the ConversationState which counts how many times the but was unable to answer a question. This variable is accessed only in two functions. One increases its value and the other sets the value to zero. When I run the code locally or in an azure container app everything works fine. But after I deployed the code to an azure app service, the value of the counter will be incorrect. Sometimes it does not increase after the function was called and other times it increases by two.
Describe the bug
There is a counter property in the ConversationState which counts how many times the but was unable to answer a question. This variable is accessed only in two functions. One increases its value and the other sets the value to zero. When I run the code locally or in an azure container app everything works fine. But after I deployed the code to an azure app service, the value of the counter will be incorrect. Sometimes it does not increase after the function was called and other times it increases by two.