Cloud Connector Edition set automatic tenant update time windows

A very important task after installing a CCE (Cloud Connector Edition)

You must set a proper Update Time for your CCE Windows Updates und CCE Patching.

If you don't do this, at any point of time the CCE might start installation updates and will set you offline for the installation for up to 3hrs+.

You have to configure the UPDATE Window before you deploy the CCE!

The time zone is not configurable, but is tight to the Hyper-V host (the CCE location) defined in the windows host. Make sure the time zone setting are correct on the CCE!

First login in to your Office 365 Tenant

Import-Module skypeonlineconnector
$cred = Get-Credential
$Session = New-CsOnlineSession -Credential $cred -Verbose
Import-PSSession $session

Enable (Updates Windows)

You have to identify (name) and define a update windows

New-CsTenantUpdateTimeWindow -Identity AlwaysOn -Daily -StartTime 0:00 -Duration 24:00

You have to identify your CCE site and assign the update windows
The Update windows should be setup for both WindowsUpdates and CCE BitsUpdate

Set-CsHybridPSTNSite -Identity <SiteName> -OsUpdateTimeWindow @{add="AlwaysOn"} -BitsUpdateTimeWindow @{add="AlwaysOn"}

Disable (Update Windows)

Create a time window in which the update will not be applied:

New-CsTenantUpdateTimeWindow -Identity NeverOn -Monthly -WeeksOfMonth First -DaysOfWeek Sunday -StartTime 3:00 -Duration 0:0

Apply the new time window to your site:

Set-CsHybridPSTNSite -Identity <SiteName> -OsUpdateTimeWindow @{add="NeverOn"} -BitsUpdateTimeWindow @{add="NeverOn"}

Further information's:

The switch in the cmdlet -BitsUpdateTimeWindow can be modified with add, remove and replace

Other example:

  • New-CsTenantUpdateTimeWindow -Identity Night -Daily -StartTime 22:00 -Duration 6:00

  • New-CsTenantUpdateTimeWindow -Identity WeekdayNight -Weekly -DaysOfWeek Monday,Tuesday,Wednesday,Thursday,Friday -StartTime 22:00 -Duration 4:00

  • New-CsTenantUpdateTimeWindow -Identity FirstAndLastWeekend -Monthly -WeeksOfMonth First,Last -DaysOfWeek Sunday,Saturday -StartTime 0:00 -Duration 10:00

  • New-CsTenantUpdateTimeWindow -Identity MidDayOfMonth -Monthly -DayOfMonth 15 -StartTime 0:00 -Duration


Popular posts from this blog

Skype for Business, Lync and Exchange Web Services (EWS) and different DNS Domains- Exchange crawling e.g. for presence

Lync 2013 Client, Desktop Sharing shows blank screen (Windows 7, Windows 8, Windows 8.1)

File Share Perfomance for Skype for Business (slow conference join, slow address book)