Authenticate a Azure Automation script with MFA

New Contributor

Hello Community.

I got a Powershell job running with Azure Automation that authenticates to Sharepoint. Now what happened is there is a policy to enforce MFA on all authentications. This means that the Job is interupted due to MFA. Do you guys have any idea of how i could run a powershell script through Power Automate that doesn't req MFA? Is there any special service for this kind of tasks?

/Elias

1 Reply

Same here, got a script running a few times a day from within the windows task scheduler that connects to o365 using modern authentication.. MFA is in the way..