Project overview
This sample demonstrates how a Windows WPF application uses MSAL.NET to obtain an access token and call Microsoft Graph through the Microsoft identity platform. It is preconfigured for a quick run in Visual Studio, while developers can replace the supplied coordinates with their own app registration. Its token cache uses DPAPI, so the cache file must be removed before moving a built application to another machine.
Repository facts
- Primary language
- PowerShell
- License
- MIT
- Repository updated
- May 12, 2026
- Default branch
- main
Resource types
Learning resource
Use cases
Software developmentSecurity and privacy
Runtime
Desktop
Protocols & integrations
OAuth
Audience
Developers