Azure Code Samples
Learn to interact with Azure services through code
66 code samples match your filter
A WPF application that calls a Web API running on ASP.NET Core protected by Azure AD using OAuth 2.0 access tokens.
A sample .NET 4.5 MVC web app that signs-up and signs-in users from any Azure AD tenant using OpenID Connect.
An AngularJS single page app, implemented with an ASP.NET Web API backend, that signs users in using Azure AD and calls another web API using OAuth 2.0 access tokens.
A .NET MVC web application that uses OpenID Connect to sign-in users from a single Azure Active Directory tenant.
An ASP.NET Core web application that signs-in Azure AD users from a single Azure AD tenant.
An ASP.NET Core web application that authenticates Azure AD users and calls a web API using OAuth 2.0 access tokens.
A NodeJS web API that is secured using Azure AD and OAuth 2.0 access tokens.
A .NET 4.5 WPF application that authenticates a user and calls web API using Azure AD and OAuth 2.0 access tokens.
A .NET console application that performs various queries against the Azure AD Graph API using both user identities and application identities.
A small Node.js Web API that works with Azure AD v2.0 to accept and validates access tokens.
An ASP.NET Core web application that signs-in users with Microsoft Accounts and Azure AD Accounts from multiple Azure AD directories
A demo web application that syncs the app's local user store with users that have been assigned to the application in the directory.
A PHP web application that calls the Graph API to register new directory extensions and manipulate the extension properties
A web application sample that calls the Azure AD Graph API reporting capabilities
A .NET core daemon application that uses a certificate to authenticate with Azure AD and get OAuth 2.0 access tokens to a .NET core web api
RMS Samples for Windows Store Applications
A Xamarin application that signs users in with Azure Active Directory across several different platforms and calls the Azure AD Graph API using OAuth 2.0 access tokens.