Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 2.65 KB

active-directory-protocols-getting-started.md

File metadata and controls

39 lines (30 loc) · 2.65 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, 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.

  1. Sign in to the Azure portal.

  2. Choose your Azure AD tenant by selecting your account in the top right corner of the page, followed by selecting the Switch Directory navigation and then selecting the appropriate tenant.

    • Skip this step if you only have one Azure AD tenant under your account, or if you've already selected the appropriate Azure AD tenant.
  3. In the Azure portal, search for and select Azure Active Directory.

  4. In the Azure Active Directory left menu, select App Registrations, and then select New registration.

  5. 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`-->
  6. 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.

  7. To find your application in the Azure portal, select App registrations, and then select View all applications.