phpSPO
phpSPO copied to clipboard
MFA / 2FA for SharePoint Online
I get the error "AADSTS53003: Access has been blocked by Conditional Access policies. The access policy does not allow token issuance." when trying to login to SharePoint with a username and password. Our organisation uses MFA by default, and will not change this (for good security reasons). Is there any PHP code to trigger the normal Microsoft Office 365 login screen which would then automatically trigger the MFA method?