spo userprofile get¶
Get SharePoint user profile properties for the specified user
Usage¶
spo userprofile get [options]
Options¶
-u, --userName <userName>
- Account name of the user
-h, --help
- output usage information
--query [query]
- JMESPath query string. See http://jmespath.org/ for more information and examples
-o, --output [output]
- Output type.
json,text,csv
. Defaultjson
--verbose
- Runs command with verbose logging
--debug
- Runs command with debug logging
Remarks¶
You have to have tenant admin permissions in order to use this command to get profile properties of other users.
Examples¶
Get SharePoint user profile for the specified user
m365 spo userprofile get --userName 'john.doe@mytenant.onmicrosoft.com'