Grant permission to an APP: Can’t fetch the related App Id information

In this article, I will solve the below issue

Can’t lookup the related App Id information In SharePoint


Scenario

In SharePoint, I tried to grant the Workflow App permission by doing the following:

  • Open Site App Permissions.

Site app permissions In SharePoint

  • Copy the App Identifier GUID between the last “|” and the “@” sign, as shown below.

Configure App Permissions for SharePoint Workflow

  • Browse “http://hostname/_layouts/15/appinv.aspx” to grant the APP permission.
  • Paste the App Identifier to App Id field,
  • Click on Lookup button to fetch its related data
    • Title,
    • App Domain,
    • and Redirect URL.

Unfortunately, the APP info can’t be retrieved as shown below.

Configure App Management Service


Cause

This problem might occur in case of

  1. The App Identifier is not provided correctly.
  2. Workflows can use app permissions” feature is not activated.
  3. Workflows can use app permissions” feature is activated before configuring the App Managment Service.

Solution

Configure App Management Service

As a prerequisite to granting the APP Permission, you must make sure that the App Management Service has been configured properly as I mentioned at Sorry, something went wrong App Management shared service proxy is not installed

Activate “Workflows can use app permissions” feature

  • Open Site Settings.

Site Settings

  • Below Site Actions > Select Manage site features.Manage Site Features In SharePoint Site
  • Activate Workflows can use app permissions feature.

Note: if the “Workflows can use app permissions” is already activated, try to deactivate it then activate it again. it must be activated after configuring the App Managment Service, not before!

Get the Workflow APP Identifier 

  • In the Site App Permissions

Site app permissions In SharePoint

  • Make sure that you have copied the client section of the App Identifier between the last “|” and the “@” sign as shown below.

App Identifier


  • Browse “http://hostname/_layouts/15/appinv.aspx” to grant the APP permission.
  • Paste the App Identifier to App Id field,
  • Click on Lookup button that should fetch now the APP ID information.

Lookup the APP ID information in SharePoint


Applies To
  • SharePoint 2016.
  • SharePoint 2013.
See also

 

Advertisements

2 thoughts on “Grant permission to an APP: Can’t fetch the related App Id information

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s