Azure Code Samples
Learn to interact with Azure services through code
12 code samples match your filter
A web application that sync's data from the Microsoft Graph using the identity of the application, instead of on behalf of a user.
A .NET 4.5 multi-tenant web API that is secured using Azure AD and OAuth 2.0 access tokens, and accepts calls from Azure AD users in any tenant via a Windows Store client.
A sample .NET 4.5 MVC web app that signs-up and signs-in users from any Azure AD tenant using OpenID Connect.
An ASP.NET Core web application that authenticates Azure AD users from any tenant and calls a web API using OAuth 2.0 access tokens.
A sample .NET 4.5 MVC SaaS web app that signs-up and signs-in users from any Azure AD tenant, and calls the Azure AD Graph API.
A .NET 4.5 MVC web app that uses Azure AD application roles for authorization.
An ASP.NET MVC application that shows how to use the Azure AD v2.0 endpoint to collect consent for permissions that require administrative consent.
A .NET 4.5 MVC Web API protected by Azure AD that receives tokens from a client and uses ADAL to get tokens for calling a downstream web API with a Conditional Access policy applied to it.
A demo web application that uses Azure AD for sign up & sign in and calls the Azure AD Graph API to search for users.
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 demo iOS app that uses Azure AD for sign up & sign in and calls the Azure AD Graph API to search for users
This sample demonstrates how to leverage ADAL .NET to authenticate user calls to a web API (in this case, the directory Graph) from apps that do not have the capability of offering an interactive authentication experience.