Skip to content

spo userprofile get

Get SharePoint user profile properties for the specified user


spo userprofile get [options]


-u, --userName <userName>
Account name of the user
-h, --help
output usage information
--query [query]
JMESPath query string. See for more information and examples
-o, --output [output]
Output type. json,text,csv. Default json
Runs command with verbose logging
Runs command with debug logging


You have to have tenant admin permissions in order to use this command to get profile properties of other users.


Get SharePoint user profile for the specified user

m365 spo userprofile get --userName ''