Getting 500 from Azure Function when authLevel=function

Mokarizadeh Shahab (SEBT) 96 Reputation points
2021-06-11T10:27:26.78+00:00

Hi

I have simple HTTP triggered Azure function. When authLevel=anonymous I can reach the function and it works
But when I set the authLevel=function , and I invoke same url (lets say POST with respective function key) I get 500 error .
It doesn't seem to be related to Function Key as otherwise I get 401 (unauthorized error).

There should be something else, but what?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,890 questions
{count} votes

Accepted answer
  1. Mokarizadeh Shahab (SEBT) 96 Reputation points
    2021-06-15T06:59:39.223+00:00

    Hello,
    I solved the problem by removing the folder which keeps the secrets in the Azure function storage, it seemed that settings are not updated after I changed function from anonymous to function "authLevel".

    best
    Shahab


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.