none
Need to get azure automation runbook error using rest api call RRS feed

  • Question

  • I am using Rest api method to start runbook.
    I am getting output after execution of runbook but not getting errors, using below API to get output

    GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Automation/automationAccounts/{automationAccountName}/jobs/{jobName}/output?api-version=2017-05-15-preview

    But not getting any API to get errors.
    In this link(https://docs.microsoft.com/en-us/rest/api/automation/job/get) I can see ErrorResponse there but dont know how to use it.

    Monday, August 19, 2019 11:29 AM

All replies