Respected Contributor.. Respected Contributor..
Respected Contributor..

<(CM) Support tip> SharePoint “App Configuration Settings are Invalid” error

1. Verifying your App Id
• Browse to “<<Your site Url>>/ _layouts/15/appinv.aspx
• Type in the AppId you specified in your configuration tool and perform a look up. Confirm the details are correct. If no information is returned then this means the app id is invalid. Fix the AppId in the configuration tool and reconfigure, otherwise proceed to the next stepVerifying your Issuer Id.
• Execute the command on the SharePoint Management Shell
• Note down the value for the RegisteredIssuerName
• Here is how it looks like: RegisteredIssuerName : 11111111-1111-1111-1111-111111111111@6b98f2ce-acc3-4238-a027-d88f7e139207.
• Your IssuerId will be the Guid before “@”. If this Id doesn’t match the one you entered in the Configuration tool, fix this and reconfigure, otherwise proceed to the next step.Verifying your certificate
2. Verifying your certificate
• Check the permissions to the certificate location (on the SharePoint Server as well as on the HPRM Server)
• Ensure that the password you specified is correct
• Check in the ULS log for any authentication errors. If you don’t find any useful information, go to Central Administration à Monitoring àConfigure diagnostic logging. Expand the SharePoint Foundation category and select the following items: App Auth, Application Authentication, Authentication Authorization and Claims Authentication. Set the logging and trace level to Verbose for these and save your changes and resave the default site collection url. Look for any errors in the ULS again. If you find a certificate expiration error follow these steps to reregister the token issuer
• Execute the command on a SharePoint Management Shell and note down the Id of the trusted security token issuer


• Remove the token issuer by executing this command Remove-SPTrustedSecurityTokenIssuer -Id <<Your Id here>>
• Remove the trusted root authority by executing Remove-SPTrustedRootAuthority -Id HPRecordsManagerTrust
• Follow the installation guide for setting up High Trust, provide details about your new certificate when prompted.
• Reregister a new App Id
• Use this new App Id in the App Configuration settings and regenerate the app
• Remove the existing app from all the site collections and from your app catalog.
• Upload this new app to the app catalog and add it to your default site collection.
• Close and reopen the Configuration tool
• Specify the default site collection url and save

0 Replies
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.