Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Change MUI Setting in SharePoint for User
Connect-PnPOnline https://<tenant><site>
Get-PnPListItem -List "User Information List" -Id 7 # Me
# -OR- #
$userEmail = ""
$CamlQuery = @"
<FieldRef Name='EMail' />
<Value Type='Text'>$userEmail</Value>
$item = Get-PnPListItem -List "User Information List" -Query $CamlQuery
# Language Reference:
$item["MUILanguages"] = "cy-GB" #"en-GB"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment