Common Microsoft Resources in Azure Active Directory

I have seen a lot of StackOverflow posts trying to debug pretty basic errors when getting an access token to Microsoft Resources. Sometimes the issue is as simple as a typo in the “resource” value in the token request. When helping these users, I struggle to find public documentation which shows plainly the correct resource values for these different APIs!

That is going to change starting now. Here will be a list of the most popular Microsoft APIs exposed on Azure Active Directory, along with the basic information you may need to get an access token to those resources for PROD. (If you want the details for other Environments, let me know!)

Note: The Resource URI must match exactly what is written below, including any trailing ‘/’ or lack thereof.

Resource Name Resource URI Application ID
AAD Graph API 00000002-0000-0000-c000-000000000000
Office 365 Exchange Online 00000002-0000-0ff1-ce00-000000000000
Microsoft Graph 00000003-0000-0000-c000-000000000000
Skype for Business Online 00000004-0000-0ff1-ce00-000000000000
Office 365 Yammer 00000005-0000-0ff1-ce00-000000000000
OneNote 2d4d3d8e-2be3-4bef-9f87-7875a61c29de
Windows Azure Service Management API 797f4846-ba00-4fd7-ba43-dac1f8f63013
Office 365 Management APIs c5393580-f805-4401-95e8-94b7a6ef2fc2
Microsoft Teams Services cc15fd57-2c6c-4117-a88c-83b1d56b4bbe
Azure Key Vault cfa8b339-82a2-471a-a3c9-0fc0be7a4093

Who knows if this will actually end up helping anyone, but I hope it will!