How test Azure timer function from portal

Giostra Stefano 1 Reputation point
2022-12-15T10:04:17.613+00:00

Hi to all,
I tryed to follow the doc: Manually run a non HTTP-triggered function, to test my timer Azure function, but I got: Error 403 - Forbidden everytime!

Same error if I try to test the function from the Azure Portal.
Can someone explain to me where is my fault?

Thanks.

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

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,936 Reputation points Moderator
    2022-12-15T10:28:47.13+00:00

    @Giostra Stefano Thanks for reaching out.

    Please make sure that you are passing the x-functions-key and Content-Type as the Header in your request and not as query parameters. The issue is reproduced if you are not passing the x-functions-key value correctly as header in your request. You need to pass _master key of your function app.

    271014-image.png

    270840-image.png


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.