Skip to main content

Common Microsoft Resources in Azure Active Directory

· 2 min read
Shawn Tabrizi
Software Engineer

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 NameResource URIApplication ID
AAD Graph APIhttps://graph.windows.net/00000002-0000-0000-c000-000000000000
Office 365 Exchange Onlinehttps://outlook-sdf.office.com/00000002-0000-0ff1-ce00-000000000000
Microsoft Graphhttps://graph.microsoft.com00000003-0000-0000-c000-000000000000
Skype for Business Onlinehttps://api.skypeforbusiness.com/00000004-0000-0ff1-ce00-000000000000
Office 365 Yammerhttps://api.yammer.com/00000005-0000-0ff1-ce00-000000000000
OneNotehttps://onenote.com/2d4d3d8e-2be3-4bef-9f87-7875a61c29de
Windows Azure Service Management APIhttps://management.core.windows.net/797f4846-ba00-4fd7-ba43-dac1f8f63013
Office 365 Management APIshttps://manage.office.comc5393580-f805-4401-95e8-94b7a6ef2fc2
Microsoft Teams Serviceshttps://api.spaces.skype.com/cc15fd57-2c6c-4117-a88c-83b1d56b4bbe
Azure Key Vaulthttps://vault.azure.netcfa8b339-82a2-471a-a3c9-0fc0be7a4093

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