Graph API Code Sample: Authenticate and Read an Object From Windows Azure Active Directory (AD)

Windows Azure PlatformThis code sample is a very basic console application written using Visual Studio 2010:

It demonstrates the following key features:

  • How to request JWT token from Windows Azure AD Access Control using symmetric key.
  • How to authenticate with the JWT token to Windows Azure AD using Graph API.
  • How to read Windows Azure AD Object using Windows Azure AD Graph API.

It effectively reflects on the following scenario:

I have used the following resources to implement the sample:

Subscribe to Office 365 to get your Windows Azure AD subscription, grab the sample and start programming against it using the sample and the How-To’s.