This repository was archived by the owner on Aug 29, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +8
-11
lines changed
Expand file tree Collapse file tree 1 file changed +8
-11
lines changed Original file line number Diff line number Diff line change @@ -23,27 +23,24 @@ Follow the instructions in [Register an application for Microsoft identity platf
2323
2424Replace ` 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
3427Navigate to your download folder and use the ** mgc** command to run commands on the CLI SDK.
3528Add -h to your commands to view additional commands.
3629
37-
38- ### Authentication
30+ ## Authenticating on the CLI tool
3931The 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
4335mgc 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.
You can’t perform that action at this time.
0 commit comments