question

user0808 avatar image
0 Votes"
user0808 asked nhcloud answered

How to connect UI and Azure Automation Runbook?

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

azure-functionsazure-automation
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

nhcloud avatar image
0 Votes"
nhcloud answered

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.

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.