Thursday, January 31, 2019

SharePoint Provider Hosted Add-ins 401 unauthorized error

We were getting an error 'Unauthorized Access' without any apparent reason. This error was resolved by following steps:


  1. Uninstall the app from SharePoint host website and re-install it again.

  1. Manually run SharePoint Central Admin timer job named 'Refresh Trusted Security Token Services Metadata feed'

No comments:

c# httpclient The remote certificate is invalid according to the validation procedure: RemoteCertificateNameMismatch

 If we get this error while trying to get http reponse using HttpClient object, it could mean that certificate validation fails for the remo...