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.
-: FREE PDF e-Book Download :-
51 JSOM Examples in SharePoint Online
You May Also like the Following SharePoint Online Tutorials: