Modern Auth and Unattended Scripts in Exchange Online PowerShell V2
Usually, admins use the stored credential for unattended PowerShell scripts. With the introduction of security defaults and basic authentication deprecation, it’s necessary to adopt MFA for authentication. Since MFA requires users’ interaction to create Exchange session, people started to use Conditional Access policy to bypass MFA. But Conditional Access requires Azure AD Premium license. So, most admins wanted a way to execute their PowerShell…
3 min read