When I'm running Azure function, it's giving me an error with the following message.
Function had errors. See Azure WebJobs SDK dashboard for details. Instance ID is 26759a4d-0bec-4a4a-86dc-dbdbf5ce50ed
But I cannot find any output-logs or related information.
Azure Storage Explorer version: 0.9.4
Azure Functions Cli: 2.0.1
You could check the Azure function error logs
in three ways.
1.In the Portal
Navigate to your function app in the portal, select the function
, and go to the Monitor
tab.
2.In the KUDU
Access https://<Your function app name>.scm.azurewebsites.net.
Then you need to select Tools | WebJobs
dashboard and then choose Functions
.
3.In the Table Storage
All the logging and timing information of your functions output is stored in the Storage Account that was created when you created your Functions App.
More details, please see this blog.
Hope it helps you.
Update Answer :
The three ways I mentioned above are alternative in Azure side.
For local , I suggest you to get the Dashboard to run locally .You could sync the dashboard sources code and add your Storage connectionstring
and run the dashboard locally.