Category Archives: Office 365

Limit your OneDrive for Business accounts to domain PC’s only

Today, Microsoft announced an exciting feature which is still rather limited, but a start of something nice.

Administrators can enforce security on OneDrive for Business, ensuring that their licensed business users can only sync their OneDrive account on a domain joined computer. Users will be unable to sync their OneDrive library on their personal, unsecured and unmanaged device.

Let’s hope this is soon extended to Windows 10 Azure Workplace Joined devices and any other devices that have been WorkPlace joined (Android, Apple, Windows 7+, Windows Phone).

For details on configuring this, check this technet article.

Sync disabled users (shared mailboxes) to Office 365 with Azure Active Directory Sync

I often hear customers who run an onpremises Exchange 2010 or 2013 environment in Hybrid mode with Office 365 complain about their Shared Mailboxes not appearing in Office 365 when using AADSync (or AADConnect).

This is important for mail routing if they don’t exist as contacts, or if you are using Exchange Online Protection for these mailboxes.

So, two quick steps to configure AADSync to also sync disabled users to Office 365. Continue reading Sync disabled users (shared mailboxes) to Office 365 with Azure Active Directory Sync

Adding OneDrive for Business libraries to reduce sync errors

If you’re using OneDrive for Business to store a large amount of company and / or personal files, you’re like me.

And you’ve probably been frustrated running into issues using the OneDrive for Business client. It really hates it when you have over 5000 items in your account. This is annoying, because Microsoft gives us unlimited storage space in our OneDrive for Business account. But if you go over 5000, you’ll see an error message if you go into the library settings and the trouble starts.

OneDrive for Business may stop syncing files, or start eating 100% CPU capacity and simply not responding to anything. Files may never upload, or may end up in a cache where you will have no idea where it is.

What most people don’t know, is Continue reading Adding OneDrive for Business libraries to reduce sync errors

Change Office 365 portal language for synced users

Users cannot change the display language of the Office 365 portal themselves if they are synced users, and they’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 "xxx" -PreferredLanguage "en-US"

You will see this error:

set-msoluser : Unable to update parameter. Parameter name: PreferredLanguage.
At line:1 char:1
+ set-msoluser -userprincipalname xxx -preferredlanguage "en-US"
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : OperationStopped: (:) [Set-MsolUser], MicrosoftOnlineException
+ FullyQualifiedErrorId : Microsoft.Online.Administration.Automation.PropertyNotSettableException,Microsoft.Online.Administration.Automation.SetUser

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.

Here’s an example PS snippet that will set (bulk change) the preferredLanguage Active Directory atrribute of all your users to Dutch:

Get-AdUser -Filter * -ResultSetSize 9999 | Set-ADUser -Replace @{‘preferredLanguage’=”nl-NL”}

If you need to look up your own language code, you can do so here

Note: if the PreferredLanguage attribute is not set, language will default to English.