question

scal avatar image
0 Votes"
scal asked SathyamoorthyVijayakumar-MSFT edited

How to manage azure Automation through MS Graph API

Dear all,

For our customer we are using Azure Automation for running different script based on action.
We face for some limitation on those script execution when it belongs to different separate task.

We would like to integrate such script execution from our Atlassian Jira Service Desk Catalog.
The idea is based on user request from the catalog, we access through scripting to Azure Automation services by using Ms Graph API.

Could you please provide the place where I could find out the different API related to Azure Automation in MS Graph ?
I could not find those clearly

Thanks for help

azure-automation
· 6
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.

@scal - Thanks for your question.

Are you looking to managing the Azure Automation service through MS Graph API?
If yes, the below Rest API (Graph API is not available) will help meet your requirement eventually.
https://docs.microsoft.com/en-us/rest/api/automation/

Alternatively, if you are looking on triggering Azure Automation programmatically through URL Endpoint?
This can help you get started: https://docs.microsoft.com/en-us/azure/automation/automation-webhooks
The execution of the Azure Automation begins when the endpoint is hit.

115941-image.png


Apologies, if my understanding is incorrect. Request you to elaborate a bit to improve my understanding.


0 Votes 0 ·
image.png (23.1 KiB)

@scal - I wanted to check with you whether the above information was helpful ?

0 Votes 0 ·
scal avatar image scal SathyamoorthyVijayakumar-MSFT ·

Hello @SathyamoorthyVijayakumar-MSFT , thanks for your reply and sorry for late response.
The idea is that we want to execute an Azure Automation script from Jira with that sample step.

Note that so far our script are in python

1 - Authenticate to Azure automation
2- Connect to runbook
3- Get the script name to execute somehow
4 - Send a kind of action to execute the script

Is that possible ?

Certain of our Azure script can takes 30ms to execute even more sometimes, is there also a way to receive a Script Job status when the running script is completed sucessfully ?

Regards

0 Votes 0 ·
Show more comments

0 Answers