Provide better exception messages in Azure Automation
Exceptions are currently only surfaced by the exception message string. Please give us richer exception messages for Powershell-based runbooks, such as file name, line number, etc. Ideally I'd like to get a "regular" exception object back using Azure Powershell.
Thank you for the feedback. The product team has noted this suggestion and will consider it if resourcing allows.
Jakob Gottlieb Svendsen (MVP) commented
any news on the review of this suggestion? It is very hard to debug errors in AA because of this. It has the same annoing issue as Orchestrator, which made it more complex to make runbooks as we always needed to send this detailed info out from the runbook outselves.