Views:

To fix the issue, do the steps below:

  1. Open SharePoint Admin Center.
  2. Click Access Control.
  3. Under the “Control access from apps that don't use modern authentication” section, select Allow.

    SharePoint Admin Center

  4. Click OK to apply the changes.
 
It may take up to 24 hours for the changes to take affect.