I'm trying to publish an Azure function using the Azure Function Core Tools CLI.
func azure functionapp publish "<FUNCTION APP NAME>"
The process completes the build and deploy quickly but then takes 2-3 minutes 'Syncing triggers...' before failing.
This is the result:
Build succeeded.
0 Warning(s)
0 Error(s)
Time Elapsed 00:00:02.85
Getting site publishing info...
Creating archive for current directory...
Uploading 4.25 MB [###############################################################################]
Upload completed successfully.
Deployment completed successfully.
Syncing triggers...
Syncing triggers...
Syncing triggers...
Syncing triggers...
Syncing triggers...
Syncing triggers...
Error calling sync triggers (BadRequest). Request ID = '<REQUEST ID GUID>'.
func --version
3.0.3904
The function is deployed to Azure (checked in the portal) but the Get Function URL button is disabled.
Any help with this gratefully received.