{"id":167,"date":"2015-03-26T09:56:48","date_gmt":"2015-03-26T09:56:48","guid":{"rendered":"https:\/\/www.lieben.nu\/liebensraum\/?p=167"},"modified":"2015-03-26T09:56:48","modified_gmt":"2015-03-26T09:56:48","slug":"change-office-365-portal-language-for-synced-users","status":"publish","type":"post","link":"https:\/\/lieben.nu\/liebensraum\/2015\/03\/change-office-365-portal-language-for-synced-users\/","title":{"rendered":"Change Office 365 portal language for synced users"},"content":{"rendered":"<p>Users cannot change the display language of the Office 365 portal themselves if they are synced users, and they&#8217;ll receive an error. If you attempt to do this as an administrator using a Powershell command to set the PreferredLanguage attribute directly like this:<\/p>\n<pre>set-msoluser -userprincipalname \"xxx\" -PreferredLanguage \"en-US\"\n<\/pre>\n<p>You will see this error:<\/p>\n<pre>set-msoluser : Unable to update parameter. Parameter name: PreferredLanguage.\nAt line:1 char:1\n+ set-msoluser -userprincipalname xxx -preferredlanguage \"en-US\"\n+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~\n~~~\n+ CategoryInfo          : OperationStopped: (:) [Set-MsolUser], MicrosoftOnlineException\n+ FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.PropertyNotSettableException,Microsoft.Online.Administration.Automation.SetUser\n<\/pre>\n<p>You can only set the PreferredLanguage attribute on non-synced users because this property is managed by dirsync\/aadsync, and thus only settable on your onpremises Active Directory. Use ADSIEdit or Powershell to change the PreferredLanguage property locally for your users and then run a sync to change the language in Office 365.<\/p>\n<p>Here&#8217;s an example PS snippet\u00a0that will set (bulk change) the preferredLanguage Active Directory atrribute of all your users to Dutch:<\/p>\n<blockquote><p>Get-AdUser -Filter * -ResultSetSize 9999 | Set-ADUser -Replace @{&#8216;preferredLanguage&#8217;=&#8221;nl-NL&#8221;}<\/p><\/blockquote>\n<p>If you need to look up your own language code, you can do so <a href=\"https:\/\/msdn.microsoft.com\/en-us\/library\/ee825488(v=cs.20).aspx\" target=\"_blank\">here<\/a><\/p>\n<p>Note: if the PreferredLanguage attribute is not set, language will default to English.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Users cannot change the display language of the Office 365 portal themselves if they are synced users, and they&#8217;ll receive an error. If you attempt to do this as an administrator using a Powershell command to set the PreferredLanguage attribute directly like this: set-msoluser -userprincipalname &#8220;xxx&#8221; -PreferredLanguage &#8220;en-US&#8221; You will see this error: set-msoluser : &hellip; <a href=\"https:\/\/lieben.nu\/liebensraum\/2015\/03\/change-office-365-portal-language-for-synced-users\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Change Office 365 portal language for synced users<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"categories":[32],"tags":[],"class_list":["post-167","post","type-post","status-publish","format-standard","hentry","category-office-365"],"_links":{"self":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/167","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/comments?post=167"}],"version-history":[{"count":0,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/posts\/167\/revisions"}],"wp:attachment":[{"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/media?parent=167"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/categories?post=167"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/lieben.nu\/liebensraum\/wp-json\/wp\/v2\/tags?post=167"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}