You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: tutorial/02-create-app.md
+24-26Lines changed: 24 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,13 +5,14 @@ In this section, you'll create a new Angular project.
5
5
1. Open your command-line interface (CLI), navigate to a directory where you have rights to create files, and run the following commands to install the [Angular CLI](https://www.npmjs.com/package/@angular/cli) tool and create a new Angular app.
6
6
7
7
```Shell
8
-
npm install -g @angular/cli@10.1.7
8
+
npm install -g @angular/cli@11.2.9
9
9
ng new graph-tutorial
10
10
```
11
11
12
12
1. The Angular CLI will prompt for more information. Answer the prompts as follows.
13
13
14
14
```Shell
15
+
? Do you want to enforce stricter type checking and stricter bundle budgets in the workspace? Yes
15
16
? Would you like to add Angular routing? Yes
16
17
? Which stylesheet format would you like to use? CSS
17
18
```
@@ -38,9 +39,10 @@ Before moving on, install some additional packages that you will use later:
1. Add an image file of your choosing named **no-profile-photo.png**in the **./src/assets** directory. This image will be used as the user's photo when the user has no photo in Microsoft Graph.
Copy file name to clipboardExpand all lines: tutorial/03-register-app.md
+1-5Lines changed: 1 addition & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,14 +12,10 @@ In this exercise, you will create a new Azure AD web application registration us
12
12
13
13
- Set **Name** to `Angular Graph Tutorial`.
14
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:4200`.
15
+
- Under **Redirect URI**, set the first drop-down to `Single-page application (SPA)` and set the value to `http://localhost:4200`.
16
16
17
17

18
18
19
19
1. Select **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.
20
20
21
21

22
-
23
-
1. Select **Authentication** under **Manage**. Locate the **Implicit grant** section and enable **Access tokens** and **ID tokens**. Select **Save**.
24
-
25
-

0 commit comments