SfB Online: Next generation provisioning is not enabled for your tenant.

While trying to add a Holiday to one of our Auto Attendants I was greeted with a “useless” error message, so in hopes of getting a better picture of what was going on, I opened up my powershell console and connected with our Tenant

$session = new-CsOnlineSession
import-PSSession $session
Export-CsAutoAttendantHolidays
cmdlet Export-CsAutoAttendantHolidays at command pipeline position 1
Supply values for the following parameters:
Identity: <snip>
Next generation provisioning is not enabled for your tenant. Please contact support to enroll.
    + CategoryInfo          : NotSpecified: (:) [Export-CsAutoAttendantHolidays], OnlineCmdletException
    + FullyQualifiedErrorId : FeatureIsNotEnabledForTenant,Microsoft.Rtc.Management.Hosted.OAA.V2.ExportCsAaHolidaysCmdlet
    + PSComputerName        : admin0e.online.lync.com
Continue reading

Enforcing Computername using Intune Powershell

When performing a ‘Fresh Start’ or ‘Factory Reset’ on an Intune managed device, the computername is reset to the default ‘DESKTOP-<random>’ name.

Our requirement however, was that every machine has a specific computername.

Since Intune offers the possibility of deploying Powershell scripts, I’ve written one that checks the device’s serial number and renames the computer if the serial is known.

Continue reading