How to connect UI and Azure Automation Runbook?

nabi04 51 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.
4,116 questions
Azure Automation
Azure Automation
An Azure service that is used to automate, configure, and install updates across hybrid environments.
1,094 questions
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