Forum Discussion
Ben Curran
Jan 08, 2021Brass Contributor
Restricting global admin powershell scheduled task
Hi, Hoping someone can help me. I have a global admin account which runs a powershell script weekly from an Azure VM on an internal network with no public IP. I would like to restrict this accoun...
Thijs Lecomte
Jan 08, 2021Bronze Contributor
Where is this script running from? You could check the IP's here (https://www.microsoft.com/en-us/download/details.aspx?id=56519)
I am personally not a fan of using a global admin for the script. Can't you use the Graph API with application permissions?
I am personally not a fan of using a global admin for the script. Can't you use the Graph API with application permissions?