Skip to content
This repository was archived by the owner on Aug 29, 2025. It is now read-only.

Commit e430d6a

Browse files
Update README.md
1 parent a967b71 commit e430d6a

File tree

1 file changed

+8
-11
lines changed

1 file changed

+8
-11
lines changed

README.md

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -23,27 +23,24 @@ Follow the instructions in [Register an application for Microsoft identity platf
2323

2424
Replace `YOUR_CLIENT_ID` with the client ID from your app registration.
2525

26-
27-
## Authenticating on the CLI tool
28-
29-
``` bash
30-
mgc login --client-id `YOUR_CLIENT_ID` --tenant-id `YOUR_TENANT_ID` --scopes User.ReadWrite --scopes Mail.ReadWrite
31-
```
32-
3326
## Executing the application
3427
Navigate to your download folder and use the **mgc** command to run commands on the CLI SDK.
3528
Add -h to your commands to view additional commands.
3629

37-
38-
### Authentication
30+
## Authenticating on the CLI tool
3931
The SDK supports both delegeted and app-only authentication strategies. Run the command below to see supported authentication strategies.
4032

4133
``` bash
4234
#View supported authentication strategies. Default is Device Code
4335
mgc login --help
4436
```
37+
OR
38+
39+
``` bash
40+
mgc login --client-id `YOUR_CLIENT_ID` --tenant-id `YOUR_TENANT_ID` --scopes User.ReadWrite --scopes Mail.ReadWrite
41+
```
4542

46-
#### **Delegated access**
43+
### **Delegated access**
4744
**1. DeviceCode authentication strategy**
4845

4946

@@ -65,7 +62,7 @@ mgc login --strategy InteractiveBrowser
6562

6663
```
6764

68-
#### **App-only access**
65+
### **App-only access**
6966
**1. Client Certificate authentication strategy**
7067
``` bash
7168
# Using Client Certificate authentication.

0 commit comments

Comments
 (0)