Your code has this
Quote:
string userInfoURL = "https://[base-server-url]/userinfo?" + accessToken;
yet the error message states
Quote:
Received invalid UserInfo request. Access token is not present in the request. The access token needs to be carried in Authorization Request Header Field or Form-Encoded Body Parameter.
so I doubt it's seeing the token .. I would try
WebClient client = new WebClient();
client.Headers.Add(HttpRequestHeader.Authorization,
"Bearer " + accessToken);