How to get access token from WNS?

All replies

  • Hi Nazia

    I'm assuming when you ran your code your machine had access to the internet?  If you go to this doc you'll see the exact HTTP request you'll need to make to get an access token.   I'd try that first, and use some HTTP client like Fiddler to see if making an HTTP POST from your machine is able to connect to the login service.  That'll at least help us understand if this is relating to any network connection issues.


    Friday, June 01, 2012 4:06 PM
  • If you go step by step with the Consumer Preview build, this should succeed for you!  It was verified May 15th.   I will update this blog for the Release Preview next week!

    Jeff Sanders (MSFT)

    Friday, June 01, 2012 6:44 PM
  • Hi Darren,

    I am unable to login to the site https://login.live.com using my Microsoft alias. Is that could be the reason for getting a web exception at  client.UploadString("https://login.live.com/accesstoken.srf", body).


    Monday, June 04, 2012 7:00 AM