Forum Discussion

Rahul_Mehta's avatar
4 years ago

How to programmatically(via powershell or python) add Azure Account to LogicMonitor

Hi Team,

In the below link, the steps are provided on "How to add Azure Account into LogicMonitor".

My question, is on 3rd step and 4th step once the SPN is created via powershell. Can we also programmatically select the subscription, fill the necessary information and add that Azure Account to LogicMonitor? If yes, can anyone please provide the sample code or reference to the code.