Failed to sync triggers for function app - Error: Unauthorized - Encountered an error (Forbidden) from extensions API. (CODE: 400)

Antonio Martinez Guerrero 11 Reputation points
2021-11-16T18:18:23.617+00:00

Hi,

I am having the error below when deploying an Azure Function App:

2021-11-16T16:54:27.5205915Z ##[debug]Deployment Failed with Error: Error: Failed to sync triggers for function app 'u4nextv1dev-dotnet-functions'. Error: Unauthorized - Encountered an error (Forbidden) from extensions API. (CODE: 400)
2021-11-16T16:54:27.5207692Z ##[debug]task result: Failed

Could you help here, please?

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

1 answer

Sort by: Most helpful
  1. MayankBargali-MSFT 70,826 Reputation points
    2021-11-24T08:15:28.873+00:00

    @Antonio Martinez Guerrero Apology for the delay and inconvenience due to this issue. Generally, the error is observed if your function app is stopped or there is an issue with your function app.
    As per a response here from one of our product group engineers generally, the Function App can't be stopped for the ARM APIs to work properly.

    If there is an issue with your function app then I will suggest you to review the application insights logs to get more details on the error/exception or you can also review the Diagnose and solve problems to resolve any issue related to your function.

    4 people found this answer 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.