http://blogs.msdn.com/b/aadgraphteam/archive/2013/01/24/walk-through-for-building-a-net-application-for-accessing-windows-azure-active-directory-graph-service.aspx
There, $credType = "Password" is used compared to $credType = "Symmetric" from older versions (and any online sample). I presume symmetric and password are not the same? Because when I use a spn with symmetric in this sample, I get
The remote server returned an error: (400) Bad Request.
for GetAuthorizationToken calls.
I already asked why this sample is so very different from others before, someone mind to fill me in?
Also, why is token expiration ignored? Re-getting a token every time while the old is still valid kind of makes think is not an example you should copy from.
Chris
Christoph Wille - Glengamoi Alumni - Realnamen sind ein Gebot der Höflichkeit in der Community