Article ID: 67500
Article Type: Troubleshooting
Last Modified:
When you add new SharePoint sites, an error message appears that says "Error: Unable to connect to tenant with primary app [f153a0d7-c8c0-404a-b54c-bec1b7e3f914]. Please verify the credentials"
When you try to add SharePoint sites after configuring SharePoint Online, the following error message appears:
Error: Unable to connect to tenant with primary app [f153a0d7-c8c0-404a-b54c-bec1b7e3f914]. Please verify the credentials.
When adding an app for SharePoint Online using the express configuration option, the DisableCustomAppAuthentication setting on the tenant is set to true.
Microsoft recommends setting DisableCustomAppAuthentication to false. For more information, see Granting access using SharePoint App-Only.
set-spotenant -DisableCustomAppAuthentication $false
For more information, see the following documentation: