An unknown error occurred while validating the server
should succeed if you are authenticated correctly, otherwise it will throw an Exception.If you start with this, then you should be able to determine if it is related to authentication problems.(as opposed to the screenshot above) The remaining problem is unrelated to this issue and I'm going to close the Q&A.Please convert your comment about the confusing validation behavior to an answer so that I can give you credit.I had the same problem after changing the domain of my site.Altough I properly changed the request_uri parameter and updated my app settings with the new domain, the error kept showing up.
I created a test user for THIS app, and it started working fine.
Microsoft is conducting an online survey to understand your opinion of the Technet Web site.
If you choose to participate, the online survey will be presented to you when you leave the Technet Web site.
Secure @Note: Give Service Account Userid or USer ID which has access to Domain Controller and Password of the Account Dim ad Searcher As New Directory Searcher(ad Entry) ad Searcher.
Filter = "(&(object Class=user)(s AMAccount Name=" & Login ID & "))" After the above code,load the Properpties Which u Need. Find One() Login ID is Give the User Id Which you Gave in above Directory Entry.
Search for an unknown error occurred while validating the server:
According to OAUTH Dialog documentation: *redirect_uri: The URL to redirect to after the user clicks a button in the dialog.