Skip to main content

spo userprofile set

Sets user profile property for a SharePoint user


m365 spo userprofile set [options]


-u, --userName <userName>

Account name of the user

-n, --propertyName <propertyName>

The name of the property to be set

-v, --propertyValue <propertyValue>

The value of the property to be set

-h, --help [help]

Output usage information. Optionally, specify which section of command's help you want to see. Allowed values are options, examples, remarks, response, full. Default is options.

--query [query]

JMESPath query string. See for more information and examples.

-o, --output [output]

Output type. json, text, csv, md, none. 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 update profile properties of other users.


Updates the single-value AboutMe property

m365 spo userprofile set --userName '' --propertyName 'AboutMe' --propertyValue 'Working as a Microsoft 365 developer'

Updates the multi-value SPS-Skills property

m365 spo userprofile set --userName '' --propertyName 'SPS-Skills' --propertyValue 'CSS, HTML'


The command won't return a response on success.