How to connect UI and Azure Automation Runbook?

Jizeth Esperanzate 56 Reputation points
2022-05-19T08:21:37.527+00:00

Is it possible to call Azure Automation Runbook from an Angular UI? Or do I have to call it through a function app?

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Udaiappa Ramachandran 726 Reputation points MVP
    2022-05-22T01:46:23.517+00:00

    If your angular app already uses Azure Identity then you can enable the management endpoints as a scope to generate OAuth2 tokens. However, the most secure approach is to trigger from the server, Write an API endpoint (host in VM, Container, WebApp, or Function App). Your server code can use Azure SDK or Management REST endpoints.

    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.