There are no apps having explicit access to the site

There are no apps having explicit access to the site

SharePoint 2016 is a very good tool to be used for applications. You can deploy lot of applications and use them. SharePoint 2016 can be integrated via server side integration. I got the error “There are no apps having explicit access to the site” during the integration. There are lots of benefits to do this. SharePoint documents can be directly managed in Microsoft Dynamics CRM. You can store and manage documents in the context of a Dynamics 365 record on a SharePoint Server, and leverage the SharePoint infrastructure to share, manage, and collaborate efficiently. The documents are stored on a SharePoint Server, non-Microsoft Dynamics 365 users can directly access the documents on the SharePoint Server, provided they have the appropriate permissions.

There are multiple challenges and hurdles which can create problems while server side integration. I would like to state my environment first and then the problem and after that the solution.

Environment:

  1. Microsoft SharePoint 2016 Single Server Farm
  2. Microsoft Dynamics CRM 365 on Premise
  3. Microsoft Active Directory for central authentication

I want to deploy an in house developed application on SharePoint so that it can be configured to use the documents of SharePoint. Created the site collection, Created a Site, Configured it for the users. Now I can’t see the app identifier and the SharePoint Realm ID.

Error: There are no apps having explicit access to the site

Site App Permissions: “There are no apps having explicit access to the site”

The Main site of the SharePoint is showing the realm ID and App Identifier without any problem. Whats the problem with my app permission.

Somehow, the client ID and client secret of this site has not been created and application permissions are not working. We need to create it manually. Follow the under given URL to create a Client ID and Client Secret.

https://int-sps-2016.integration.local/sites/spcrm/_layouts/15/AppRegNew.aspx

There are no apps having explicit access to the site

At the above screen, Client ID, Client Secret and other information can be generated.

If you are still getting the error and seeing you app identifier. Visit the under given URL of your SharePoint site.

https://int-sps-2016.integration.local/sites/spcrm/_layouts/15/AppPrincipals.aspx

If you don’t know the app ID of your sharepoint site. you can use the listed URL to find it.

https://int-sps-2016.integration.local/sites/spcrm/_layouts/15/AppInv.aspx