Recently while trying to configure workflow manager for SharePoint 2016 I got the below error which says:
Register-SPWorkflowService : Failed to query the OAuth S2S metadata endpoint at URI “http://SiteCollectionURL”.
Error Details: The metadata endpoint responded with an error. HTTP status code: Forbidden…..
Actually the error came when I try to register the workflow service to the site collection by using the below PowerShell command:
The error looks like below:
– Add Promoted Links webpart in home page of SharePoint 2013 programmatically through apps
– Configure On Premise environment for Apps in SharePoint 2016
– SharePoint 2016 List View Auto Indexing Automatic Index Management
I checked in the HOST file where I found that one extra entries like below presented for some reason:
You can find the HOST file in the below etc folder:
Once I remove the entry and then I rerun the PowerShell command the error did not come and it successfull registered.
Download FREE SharePoint 2019 Installation PDF Guide
This FREE PDF contains, Steps by step guide to install SharePoint 2019 Preview, prerequisites, hardware and software new features. First impression to SharePoint Server 2019 new modern site, modern lists and modern document libraries.