Skip to content

Latest commit

 

History

History
32 lines (30 loc) · 2.58 KB

active-directory-protocols-getting-started.md

File metadata and controls

32 lines (30 loc) · 2.58 KB
title description services documentationcenter author manager editor ms.service ms.workload ms.tgt_pltfrm ms.devlang ms.topic ms.date ms.author
Azure AD .NET Protocol Overview | Microsoft Docs
How to use HTTP messages to authorize access to web applications and web APIs in your tenant using Azure AD.
active-directory
.net
priyamohanram
daveba
active-directory
identity
na
dotnet
article
05/22/2019
priyamo

Register your application with your AD tenant

First, you need to register your application with your Azure Active Directory (Azure AD) tenant. This will give you an Application ID for your application, as well as enable it to receive tokens.

  • Sign in to the Azure portal.
  • Choose your Azure AD tenant by clicking on your account in the top right corner of the page, followed by clicking on the Switch Directory navigation and then select the appropriate tenant.
    • Skip this step, if you've only one Azure AD tenant under your account or if you've already selected the appropriate Azure AD tenant.
  • In the left hand navigation pane, click on Azure Active Directory.
  • Click on App Registrations and click on New registration.
  • Follow the prompts and create a new application. It doesn't matter if it is a web application or a public client (mobile & desktop) application for this tutorial, but if you'd like specific examples for web applications or public client applications, check out our quickstarts.
    • Name is the application name and describes your application to end users.
    • Under Supported account types, select Accounts in any organizational directory and personal Microsoft accounts.
    • Provide the Redirect URI. For Web Applications, this is the base URL of your app where users can sign in. For example, http://localhost:12345. For public client (mobile & desktop), Azure AD uses it to return token responses. Enter a value specific to your application. For example, http://MyFirstAADApp. ">https://contoso.onmicrosoft.com/my-first-aad-app`-->
  • Once you've completed registration, Azure AD will assign your application a unique client identifier (the Application ID). You need this value in the next sections, so copy it from the application page.
  • To find your application in the Azure portal, click App registrations, and then click View all applications.