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

Commit 2d3b61f

Browse files
Example that work for testing authentication (#371)
* Example that work for testing authentication * Update README.md --------- Co-authored-by: Caleb Kiage <[email protected]>
1 parent bad9df8 commit 2d3b61f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -239,11 +239,13 @@ mgc login --strategy ClientCertificate
239239
Add -h to your command to view information that contains documentation links with permissions
240240

241241
## Check logged in user
242-
You can access the logged in user's details using:
242+
You can access the your user's details using:
243243
```bash
244-
mgc me get
244+
mgc users get --user-id '[email protected]'
245245
```
246246

247+
This will also display your User ID which is required for many queries involving your user (the "me" concept has been removed from Microsoft Graph CLI).
248+
247249
## FAQs
248250
Qn: Why am I not getting a response back after running a command?
249251

0 commit comments

Comments
 (0)