Azure Automation and Hybrid Worker running in the context of a custom account

Wharton, Chris 20 Reputation points
2024-01-26T16:30:07.8533333+00:00

Have recently setup a Hybrid Worker server in Azure but on a private network.
But unable to run runbooks in the context of a local user account, Jobs running in the system context work.
We can also log on independently to the server using the "local" account. Not sure how to diagnose this further help appreciated.

Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
{count} votes

1 answer

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 19,073 Reputation points Moderator
    2024-02-05T11:28:44.9666667+00:00

    @Wharton, Chris By default, the Hybrid jobs run under the context of System account. However, to run Hybrid jobs under a different credential asset, follow the steps:

    1. Create a credential asset with access to local resources.
    2. Open the Automation account in the Azure portal.
    3. Select Hybrid Worker Groups, and then select the specific group.
    4. Select Settings.
    5. Change the value of Hybrid Worker credentials from Default to Custom.
    6. Select the credential and click Save.
    7. If the following permissions are not assigned for Custom users, jobs might get suspended.

    User's image

    0 comments No comments

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.