You could use anHTTP Request
node instead, with an Application Type (<-- click link to go to a previous post with details) credential for access to sharepoint instead of a delegated type. I don’t think that should involve any 2FA steps.
If you need to do the delegated type of credential, I’m not sure how the 2FA requirement affects it. I would think that’s just an extra step when you connect a user on the credential.