Forum Discussion

Patrick Rote's avatar
Patrick Rote
Iron Contributor
Jan 18, 2022

Connect to Azure AD from Powershell without prompt - what are my options?

Hi there,
I want to schedule some script in PowerShell and i would need to login into Azure AD first.
Is it possible to login to Azure AD without a prompt as the script needs to be automates/scheduled
Can I use app registration with client ID and Clients secret with powershell.
I also have a dedicated account which doesn't have MFA.

Any resources would be appreciated

Thanks

Resources