Azure 程式碼範例

了解如何透過程式碼與 Azure 服務互動

37 個程式碼範例與您的篩選符合

Integrate Microsoft identity and the Microsoft Graph into a Xamarin forms app using MSAL

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.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/9/21

Use OpenID Connect to sign in users to Microsoft identity platform (formerly Azure Active Directory for developers) and execute Microsoft Graph operations using incremental consent

A sample showcasing how to develop a web application that handles sign on via the unified Azure AD and MSA endpoint, so that users can sign in using both their work/school account or Microsoft account. The sample also shows how to use MSAL to obtain a token for invoking the Microsoft Graph, as well as incrementental consent.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/9/14

Authorization in a web app using Azure AD groups & group claims

A .NET 4.5 MVC web app that uses Azure AD groups for authorization.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/9/12

Calling a Web API in a daemon app or long-running process

A Windows console application that calls a web API using its app identity (instead of a user's identity) to get access tokens in an unattended job or process.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/9/2

Authenticating to Azure AD in daemon apps with certificates

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

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/8/27

Authenticating to Azure AD in daemon apps with certificates

A .NET 4.5 daemon application that uses a certificate to authenticate with Azure AD and get OAuth 2.0 access tokens.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/8/19

Calling Microsoft Graph from a web app using ADAL Python

A Python Web App calling the Microsoft Graph API, leveraging ADAL Python

  • Azure Active Directory
  • Python
azure-samples 更新者:Azure Samples
上次更新日期:2019/8/1

Build a multi-tenant SaaS web application using Azure AD & OpenID Connect

A sample .NET 4.5 MVC web app that signs-up and signs-in users from any Azure AD tenant using OpenID Connect.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/7/23

Integrating Azure AD into a cross platform Xamarin application

A Xamarin application that signs users in with Azure Active Directory across several different platforms and calls the Microsoft Graph API using OAuth 2.0 access tokens.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/7/17

Integrating Azure AD into a Windows desktop application using interactive authentication

A .NET 4.5 WPF application that authenticates a user and calls web API using Azure AD and OAuth 2.0 access tokens.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/7/17

How to manually validate a JWT access token using Microsoft identity platform (formerly Azure Active Directory for developers)

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.

  • Azure Active Directory
  • .NET
kalyankrishna1 更新者:Kalyan Krishna
上次更新日期:2019/7/5

Demo - To-do list reimagined admin web portal

A demo web application that syncs the app's local user store with users that have been assigned to the application in the directory.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2017/6/20

Using Azure AD Graph API directory extensions in a PHP web app

A PHP web application that calls the Graph API to register new directory extensions and manipulate the extension properties

  • Azure Active Directory
  • PHP
brandwe 更新者:Brandon Werner
上次更新日期:2017/4/28

Using the Graph API Reporting Features

A web application sample that calls the Azure AD Graph API reporting capabilities

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2017/6/20

Calling a downstream web API from a web API using Azure AD

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 the MIcrosoft Graph

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/4/3

Building a multi-tenant web API secured by Azure AD

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.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/6/12

Authenticating to Azure AD non-interactively using a username & password or Windows Integrated Authentication

A windows desktop program that demonstrates non-interactive authentication to Azure AD using a username & password, and optionaly windows integrated authentication.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/4/3

Integrate Azure AD into a web application using OpenID Connect

A .NET MVC web application that uses OpenID Connect to sign-in users from a single Azure Active Directory tenant.

  • Azure Active Directory
  • .NET
jmprieur 更新者:Jean-Marc Prieur
上次更新日期:2019/4/4