Microsoft identity platform documentation
Use the Microsoft identity platform and our open-source authentication libraries to sign in users with Microsoft Entra accounts. Protect your web APIs and access protected APIs like Microsoft Graph to work with your users' and organization's data.
sample
Code samplesWhat's new
What's new in docsConcept
Migrate apps to MSALQuickstart
Register an applicationGet started
Quick access to guidance on adding core IAM features to your apps and best practices for keeping your apps secure and available.
Sign in users
Test and deploy apps
Build for security and resilience
Microsoft authentication libraries
The open-source Microsoft Authentication Library (MSAL) is built and supported by Microsoft. We recommend MSAL for any app that uses the Microsoft identity platform for authentication and authorization.
Authenticate partners and customers
Sign in users from partner organizations in a business-to-business (B2B) scenario or create custom sign-up and sign-in experiences for your customers in a business-to-customer (B2C) scenario.
Connect to Microsoft Graph
Programmatic access to organizational, user, and app data stored in Microsoft Entra ID. Call Microsoft Graph from your app to create and manage Microsoft Entra users and groups, get, and modify your users' data like their profiles, calendars, email, and more.