Skip to content

Latest commit

 

History

History
31 lines (29 loc) · 2.37 KB

active-directory-protocols-getting-started.md

File metadata and controls

31 lines (29 loc) · 2.37 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
mbaldwin
active-directory
identity
na
dotnet
article
04/18/2018
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 application registration.
  • Follow the prompts and create a new application. It doesn't matter if it is a web application or a native application for this tutorial, but if you'd like specific examples for web applications or native applications, check out our quickstarts.
    • For Web Applications, provide the Sign-On URL, which is the base URL of your app, where users can sign in e.g http://localhost:12345.
">https://contoso.onmicrosoft.com/my-first-aad-app`-->
  • For Native Applications provide a Redirect URI, which Azure AD will use to return token responses. Enter a value specific to your application, .e.g http://MyFirstAADApp
  • 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.