Azure Code Samples
Learn to interact with Azure services through code
767 code samples match your filter
A java command line program for Windows, Linux, or OS X that demonstrates non-interactive authentication to Azure AD using a username & password.
Study chat bot app for students that allows school subject queries and returns relevant results.
Study chat bot app for students that allows school subject queries and returns relevant results
Sample Azure Functions for use with Azure Media Services. Ingest from Azure Blobs, encode and output to Azure Blobs, monitor encoding progress, and use WebHooks or Queues to hook into the workflow.
A web application that sync's data from the Microsoft Graph using the identity of the application, instead of on behalf of a user.
An ASP.NET Core 2.x Web App which lets sign-in users with work and school or Microsoft personal accounts
azure-iot-samples-java provides a set of easy-to-understand, continuously-tested samples for using Azure IoT Hub and Azure IoT Hub Device Provisioning Service using Java SDK.
Sample showing how to deploy a AI model from the Custom Vision service to a Raspberry Pi 3 device using Azure IoT Edge
A .NET Core 2.x simple daemon console application calling the graph with its own identity
In the sample, an existing web app with its own way of signing in users adds the ability to call an Azure AD protected web API using OAuth 2.0 access tokens.
How to manually process a JWT access token in a web API using the JSON Web Token Handler For the Microsoft .Net Framework 4.5.
A .NET Core 2.1 console application which gets an access token to call the graph using a username and password
This is a simple Xamarin Forms app showcasing how to use MSAL to authenticate MSA and Azure AD via the converged MSA and Azure AD authentication endpoints, and access the Microsoft Graph with the resulting token.
A .NET MVC web application that uses OpenID Connect to sign-in users from a single Azure Active Directory tenant.
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.