Open Pinaki-1 opened 2 years ago
Thanks @Pinaki-Kundu for raising this issue, can you help me to confirm if the function can be viewed by clicking:
Yes. PFB snapshot post clicking on browse -
@Pinaki-Kundu Thanks for the update, can you help me to check the activity log to see if we can get a more detailed error message?
Hello @xiaxyi, Apology for the late reply. Activity logs showing 'Failed' status for 'Sync Web Apps Function Triggers' with the following status message-
"statusMessage": "{\"Code\":\"BadRequest\",\"Message\":\"Encountered an error (InternalServerError) from host runtime.\",\"Target\":null,\"Details\":[{\"Message\":\"Encountered an error (InternalServerError) from host runtime.\"},{\"Code\":\"BadRequest\"},{\"ErrorEntity\":{\"Code\":\"BadRequest\",\"Message\":\"Encountered an error (InternalServerError) from host runtime.\"}}],\"Innererror\":null}",
Is there an existing issue for this?
Community Note
Terraform Version
1.1.6
AzureRM Provider Version
3.14.0
Affected Resource(s)/Data Source(s)
azurerm_windows_function_app
Terraform Configuration Files
Debug Output/Panic Output
Expected Behaviour
PS C:\Users\pinaki.a.kundu\Work\Test\SES\FuncApp\tkt\powershell_app> func azure functionapp publish example-win-function-app-pinaki --powershell Getting site publishing info... Creating archive for current directory... Uploading 1.11 KB [###############################################################################] Upload completed successfully. Deployment completed successfully. Functions in example-win-function-app-pinaki: health - [httpTrigger] Invoke url: https://example-win-function-app-pinaki.azurewebsites.net/api/health
Actual Behaviour
PS C:\Users\pinaki.a.kundu\Work\Test\SES\FuncApp\tkt\powershell_app> func azure functionapp publish example-win-function-app-pinaki --powershell Getting site publishing info... Creating archive for current directory... Uploading 1.11 KB [###############################################################################] 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 = '964e03aa-ea4d-4d49-b7c9-337b66ca9744'.
Steps to Reproduce
powershell_app.zip
Command -
func azure functionapp publish example-win-function-app-pinaki --powershell
Important Factoids
This is working fine with "azurerm_linux_function_app" with same azurerm and terraform version.
References
No response