Skip to content

Commit d23dffb

Browse files
authored
Merge pull request #7 from microsoftgraph/app-reg-update
Update app registration instructions to use new AAD portal
2 parents b768422 + 351e7b2 commit d23dffb

File tree

10 files changed

+26
-37
lines changed

10 files changed

+26
-37
lines changed

demos/03-add-msgraph/README.md

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -12,34 +12,29 @@ If you don't have a Microsoft account, there are a couple of options to get a fr
1212
- You can [sign up for a new personal Microsoft account](https://signup.live.com/signup?wa=wsignin1.0&rpsnv=12&ct=1454618383&rver=6.4.6456.0&wp=MBI_SSL_SHARED&wreply=https://mail.live.com/default.aspx&id=64855&cbcxt=mai&bk=1454618383&uiflavor=web&uaid=b213a65b4fdc484382b6622b3ecaa547&mkt=E-US&lc=1033&lic=1).
1313
- You can [sign up for the Office 365 Developer Program](https://developer.microsoft.com/office/dev-program) to get a free Office 365 subscription.
1414

15-
## Register a web application with the Application Registration Portal
15+
## Register a web application with the Azure Active Directory admin center
1616

17-
1. Open a browser and navigate to the [Application Registration Portal](https://apps.dev.microsoft.com). Login using a **personal account** (aka: Microsoft Account) or **Work or School Account**.
17+
1. Open a browser and navigate to the [Azure Active Directory admin center](https://aad.portal.azure.com). Login using a **personal account** (aka: Microsoft Account) or **Work or School Account**.
1818

19-
1. Select **Add an app** at the top of the page.
19+
1. Select **Azure Active Directory** in the left-hand navigation, then select **App registrations (Preview)** under **Manage**.
2020

21-
> **Note:** If you see more than one **Add an app** button on the page, select the one that corresponds to the **Converged apps** list.
21+
![A screenshot of the App registrations ](/tutorial/images/aad-portal-app-registrations.png)
2222

23-
1. On the **Register your application** page, set the **Application Name** to **React Graph Tutorial** and select **Create**.
23+
1. Select **New registration**. On the **Register an application** page, set the values as follows.
2424

25-
![Screenshot of creating a new app in the App Registration Portal website](/tutorial/images/arp-create-app-01.png)
25+
- Set **Name** to `React Graph Tutorial`.
26+
- Set **Supported account types** to **Accounts in any organizational directory and personal Microsoft accounts**.
27+
- Under **Redirect URI**, set the first drop-down to `Web` and set the value to `http://localhost:3000`.
2628

27-
1. On the **React Graph Tutorial Registration** page, under the **Properties** section, copy the **Application Id** as you will need it later.
29+
![A screenshot of the Register an application page](/tutorial/images/aad-register-an-app.png)
2830

29-
![Screenshot of newly created application's ID](/tutorial/images/arp-create-app-02.png)
31+
1. Choose **Register**. On the **Angular Graph Tutorial** page, copy the value of the **Application (client) ID** and save it, you will need it in the next step.
3032

31-
1. Scroll down to the **Platforms** section.
33+
![A screenshot of the application ID of the new app registration](/tutorial/images/aad-application-id.png)
3234

33-
1. Select **Add Platform**.
34-
1. In the **Add Platform** dialog, select **Web**.
35+
1. Select **Authentication** under **Manage**. Locate the **Implicit grant** section and enable **Access tokens** and **ID tokens**. Choose **Save**.
3536

36-
![Screenshot creating a platform for the app](/tutorial/images/arp-create-app-03.png)
37-
38-
1. In the **Web** platform box, enter `http://localhost:3000` for the **Redirect URLs**.
39-
40-
![Screenshot of the newly added Web platform for the application](/tutorial/images/arp-create-app-04.png)
41-
42-
1. Scroll to the bottom of the page and select **Save**.
37+
![A screenshot of the Implicit grant section](/tutorial/images/aad-implicit-grant.png)
4338

4439
## Configure the sample
4540

24.1 KB
Loading
7.97 KB
Loading
66 KB
Loading
24.3 KB
Loading
-19.2 KB
Binary file not shown.
-19.8 KB
Binary file not shown.
-27 KB
Binary file not shown.
-11.5 KB
Binary file not shown.

tutorial/register-app.md

Lines changed: 13 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,25 @@
11
<!-- markdownlint-disable MD002 MD041 -->
22

3-
In this exercise, you will create a new Azure AD web application registration using the Application Registry Portal (ARP).
3+
In this exercise, you will create a new Azure AD web application registration using the Azure Active Directory admin center.
44

5-
1. Open a browser and navigate to the [Application Registration Portal](https://apps.dev.microsoft.com). Login using a **personal account** (aka: Microsoft Account) or **Work or School Account**.
5+
1. Open a browser and navigate to the [Azure Active Directory admin center](https://aad.portal.azure.com). Login using a **personal account** (aka: Microsoft Account) or **Work or School Account**.
66

7-
1. Select **Add an app** at the top of the page.
7+
1. Select **Azure Active Directory** in the left-hand navigation, then select **App registrations (Preview)** under **Manage**.
88

9-
> [!NOTE]
10-
> If you see more than one **Add an app** button on the page, select the one that corresponds to the **Converged apps** list.
9+
![A screenshot of the App registrations ](./images/aad-portal-app-registrations.png)
1110

12-
1. On the **Register your application** page, set the **Application Name** to **React Graph Tutorial** and select **Create**.
11+
1. Select **New registration**. On the **Register an application** page, set the values as follows.
1312

14-
![Screenshot of creating a new app in the App Registration Portal website](./images/arp-create-app-01.png)
13+
- Set **Name** to `React Graph Tutorial`.
14+
- Set **Supported account types** to **Accounts in any organizational directory and personal Microsoft accounts**.
15+
- Under **Redirect URI**, set the first drop-down to `Web` and set the value to `http://localhost:3000`.
1516

16-
1. On the **React Graph Tutorial Registration** page, under the **Properties** section, copy the **Application Id** as you will need it later.
17+
![A screenshot of the Register an application page](./images/aad-register-an-app.png)
1718

18-
![Screenshot of newly created application's ID](./images/arp-create-app-02.png)
19+
1. Choose **Register**. On the **Angular Graph Tutorial** page, copy the value of the **Application (client) ID** and save it, you will need it in the next step.
1920

20-
1. Scroll down to the **Platforms** section.
21+
![A screenshot of the application ID of the new app registration](./images/aad-application-id.png)
2122

22-
1. Select **Add Platform**.
23-
1. In the **Add Platform** dialog, select **Web**.
23+
1. Select **Authentication** under **Manage**. Locate the **Implicit grant** section and enable **Access tokens** and **ID tokens**. Choose **Save**.
2424

25-
![Screenshot creating a platform for the app](./images/arp-create-app-03.png)
26-
27-
1. In the **Web** platform box, enter `http://localhost:3000` for the **Redirect URLs**.
28-
29-
![Screenshot of the newly added Web platform for the application](./images/arp-create-app-04.png)
30-
31-
1. Scroll to the bottom of the page and select **Save**.
25+
![A screenshot of the Implicit grant section](./images/aad-implicit-grant.png)

0 commit comments

Comments
 (0)