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:
I checked in the HOST file where I found that one extra entry 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 successfully registered.
Hope this will be helpful.
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.
You May Also like the Following SharePoint Online Tutorials: