Functionapp syncing triggers BadRequests

Wolfgang Truong 1 Reputation point
2021-05-06T19:02:52.477+00:00

I'm having trouble syncing my deployment with Functionapp

while running func azure functionapp publish appname --build local -i

I get:

Uploading package...
Uploading 1.31 MB [###############################################################################]
Upload completed successfully.
Deployment completed successfully.
Setting AzureWebJobsStorage = ****
Setting FUNCTIONS_WORKER_RUNTIME = ****
Syncing triggers...
Syncing triggers...
Syncing triggers...
Syncing triggers...
Syncing triggers...
Syncing triggers...
Error calling sync triggers (BadRequest). Request ID = '47aa051d-8504-499f-8bed-d155bd5d1d12'

things I've tried:
* Stopping the app
* changing the region
* correcting my AzureWebJobsStorage
* changing consumption plan
* deploying using VS code extension

when I run the publish command without the --build local flag it throws an error saying does not support remote build as it was created before August 1st, 2019. even though I created it yesterday.

Is there a way to get better logging this is such a vague response: BadRequest

please and thank you,
dev who bangs his head on keyboard

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

1 answer

Sort by: Most helpful
  1. JayaC-MSFT 5,526 Reputation points
    2021-05-06T19:27:40.51+00:00

    Hello @Wolfgang Truong , Welcome to Microsoft QnA.

    There are couple of things you can check :

    1. Does your app have a valid linuxfxversion while deploying it ( assuming it is running on Linux)
    2. Is your app or storage behind any firewall?
    3. Please check this https://stackoverflow.com/questions/62422774/azure-function-error-your-function-app-does-not-support-remote-build and see if it helps.

    --------------------------------------------------------

    Update :

    There was some internal policies in place by the organization that didn't allow for a consumption plan.