question

skiphofmann-5016 avatar image
0 Votes"
skiphofmann-5016 asked ·

conditional access block legacy authentication onprem powershell scripts

Hello all

We have a number of powershell scripts that are running onprem that run via a scheduled task. The scripts log into Exchange online and SharePoint online and perform many functions. If we block legacy access into the tenant, this will prevent the scripts from being able to log in. I know we can configure powershell to use MFA, however its not realistic or practical to have a user repsond to the mfa challenge, as these scripts are running off hours. How do we get around this? We want to block legacy access but we dont want our scripts to stop working

Thank you

azure-active-directory
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

michev avatar image
0 Votes"
michev answered ·

You can add exceptions/whitelist to your CA policy to address those scenarios. Or you can wait for Microsoft to release a solution, as they have promised in the latest blog posts.

·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

skiphofmann-5016 avatar image
0 Votes"
skiphofmann-5016 answered ·

Can you point me to that blog post you are referring to ?

· 1 ·
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.