Home » Posts tagged '5-min Admin'

Tag Archives: 5-min Admin

Skype for Business Online Dial-in Conferencing Settings Export Script

Microsoft having released native Dial-in conferencing into Office 365 to the masses is now taking the world by storm. More and more of my customers are now adopting Skype for Business Online with PSTN Conferencing as their number one choice for Non-Enterprise Voice workloads. When you enable a user for PSTN Conferencing the PSTN number is chosen based on the user’s location. They are also assigned a Conference ID and PIN. This information is emailed to the user by the tenant when they are enabled, like so:


Skype for Business Enable Shared Line Appearance Script

With the latest version of Skype for Business Server (November 2015) a new feature called Shared Line Appearance (SLA as it’s known in the Skype world) was released.

The details of what SLA is can be found here: https://support.microsoft.com/en-us/kb/3092727

There are many blogs out there which have looked at SLA in detail, so I am not going to rehash other people’s hard work here.


Skype for Business – Statistics Manager Agent Update Certificate

After you have installed the Statistics Manager Agent, things should run smoothly until that date 3 years down the line the service suddenly stops working and cannot be restarted. You will no doubt start to sweat a little and wonder why after so long has this stopped working – there have been no changes, no updates, no messing.

You will probably find that your Statistics Manager server certificate has expired. If you renew this certificate or get a new one then you will need to perform the following steps


Skype for Business 5 minute Admin – Snom 300 UC Edition

Today I have been getting to grips with the Snom 300 UC Edition phone. Nothing new to the Lync community, but it was a new experience for me. Largely the deployment of a single phone went pretty well but there was an interesting gremlin that I wanted to share with you all.

The Snom 300 UC Edition (version uses the Skype for Business DHCP options to discover some of the services required for the phone to register and DNS for the rest. An interesting output in the log file shows that the phone actually discovers the UCUpdates URL and asks the front end server for any approved firmwares! If only Snom released an nbt file, firmware could be loaded and managed by Skype for Business.

Anyway this is not the point of this post. The topology I was deploying the phones contained a backup Standard Edition pool. The behaviour experienced on the Snom phone was that the extension would not register with Skype for Business for long periods of time and then suddenly sign-in. Everything would then appear as normal until some point in the future the phone de-registered and then could not sign back in.


Skype for Business 5 minute Admin – Centralized Logging Error 33020

Today I came across an issue that arose from a much larger problem I was experiencing. In the Event Viewer I noticed an error I had not seen before referencing the Centralized Logging Agent.

Event ID: 33020

Description: Centralized Logging Service Agent Error while moving cache files to network share.

To my knowledge at this point there has never been a need to consolidate log files to a network share, so I ran the command Get-CsClsConfiguration on both the environment that was experiencing the issue and two other environments that were not. The results were identical in that the cache file network location was not set.


Skype for Business 5 minute Admin – Formatting the LineURI

Too many times I am on site with a customer and I get an excel sheet from them that contains every user’s email address and DDI that is to be used for bulk user enablement in Skype for Business. 90% of the time the DDI is presented as you would dial it

Now this is fine but when I need to manipulate the excel sheet to format it ready for a powershell import I often find myself scratching my head thinking what excel formula do I need to use here.

So for my reference mainly and for anyone else who needs to refer to it, here it is

=SUBSTITUTE(“tel:+44″&RIGHT(B2,LEN(B2)-1)&”;ext=”&RIGHT(B2,6), ” “, “”)

As you can see the above formula correctly formats the Line URI to Skype for Business format and removes whitespaces found anywhere in the string.

Hope this helps you when in need.

Skype for Business 5-minute Admin: Removing Invalid Front Ends from Topology

Have you ever added a Front End server into your topology using just the server name (i.e. Server1) and not the fully qualified domain name (i.e. server1.domain.local)? I have without thinking and published the topology. Easy mistake to make when you are not concentrating. However, you would think that undoing your mistake would be straightforward by removing from the topology and republishing. If you try this you will get an error saying that you cannot remove the server because it contains conferencing data.

To allow the server to be removed you need to delete the conferencing directory first.

First you need to grab the right conference directory identity for the server


The identity will be an integer e.g. 5

Then remove the conference directory using

Remove-CsConferenceDirectory –Identity <5> -Force

Once this has been removed you will be able to remove the server from the topology and re-add correctly.

Skype for Business 5-minute Admin: Protect your POODLE

Purpose of 5 minute Admin

To provide Skype for Business Administrators with code snippets and to help with day to day administration tasks without the need to remember PowerShell, or other commands. 5 minute admin is not designed to be a detailed explanation of a particular problem, just offer the heavy lifting. It is assumes that you already know what to do.

Protect your Skype for Business Servers from a POODLE attack by importing the following registry keys into your servers.


Skype for Business 5 minute Admin: Exporting Archiving Data

Purpose of 5 minute Admin

To provide Skype for Business Administrators with code snippets to help with day to day administration tasks without the need to remember PowerShell commandlets and parameters.


This script will export archiving data from SQL to a folder of your choice


%d bloggers like this: