Forum Discussion
Patrick Rote
Oct 05, 2020Iron Contributor
How to create powershell to schedule task script Connect-AzureAD without credentials- MFA enabled
Hi there, I have created some scirpts in powershell to Get-AzureADGroup and Members but now i would like to schedule it. The issue is we are using MFA and don't know what needs to be done to be abl...
Patrick Rote
Iron Contributor
Thijs Lecomte
Thanks Thijs.
Is there any other option apart from using Graph API
About this other option here below
https://erjenrijnders.nl/2018/08/30/azuread-login-without-credentials-unattended/
Thijs Lecomte
Oct 06, 2020Bronze Contributor
That's also an option
Check the official docs here => https://docs.microsoft.com/en-us/powershell/azure/active-directory/signing-in-service-principal?view=azureadps-2.0
Check the official docs here => https://docs.microsoft.com/en-us/powershell/azure/active-directory/signing-in-service-principal?view=azureadps-2.0