Home » Archive (Page 3)

Category Archives: Archive

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


Skype for Business Certificate Requirements (The Definitive Guide)

I wanted to address this topic because it appears to be cropping up on TechNet regularly. In this post we will discover what is and is not supported, what certificates we need for each server and their requirements. Before we start delving into the details, it is important to understand from the outset that Skype for Business has very strict certificate requirements and should you attempt to deviate from the supported model, then you will find that certain modalities will not work at all. The temptation is to try and save money on certificates, the most common error I see is people trying to use wildcard certificates. These are not supported for non web traffic whether you use Skype for Business or not, these are not intended for Unified Communications across all vendors. The justification for using a wildcard is to save money. This I can tell you is false economy. If you ignore the requirements and purchase a wildcard certificate, you will end up having to purchase a SAN certificate in the end to get your services working. In so doing wasted about £200 in the process. The justification for doing it the right way and not trying to cut costs on certificates is simple; you’ve spent £30K on servers, £100K on licencing Skype for Business, £50k on peripherals, £30K on SBCs for your Skype for Business deployment without worry, so why try so hard to save £50 on a certificate?? So there is no argument or justification for not doing it right in my opinion.


Skype for Business Backup Tool

First off I will admit that this is not ground breaking in terms of no one has done it before. I’ve ummmed and arrrrghhed about releasing this for some time as the backup script by Lasse Wedo is amazing and will do a great job. However, I believe that my script tool brings some added value to the table and offers something a little different. For this reason I have decided it is worth a release to the community.


The backup tool is a PowerShell script that has several modes of backup, ranging from a full Skype for Business backup to modular backups for backing up policies, or configurations, or topology etc. This script can be run as a scheduled task or ad-hoc using PowerShell. It can be run from a management workstation with the Skype for Business management tools installed or from a front end server. Each backup process has been written as a separate function that allows you to be selective in what you want to backup. When run, the script will create the required root and log directory on the machine using the default path C:\sfb_backup. This can be changed by editing the first few lines of the script.


  • Back up Topology
  • Back up CMS Database
  • Back up Persistent Chat Database
  • Back up User Data
  • Back up File Share
  • Back up All Policies
  • Back up All Configuration
  • Back up Response Groups
  • Send Email to admin on completion (Full Backup Only)
  • Compress Backup file to ZIP (Full Backup Only)
  • Full Logging capabilities
  • Progress indicator


Skype for Business – Call via Work Manager

Call via Work (CvW) is the replacement to RCC in Skype for Business. Those wishing to utilise this feature will come to realise that setting the call back number administratively requires a per user based policy. Whilst on the face of it seems rather trivial, imagine having to keep track of potentially hundreds of individual policies? At present there is only one way to manage these policies and that is PowerShell.

To make this feature more accessible and manageable I have created a UI that will display every user who is enabled for CvW and their associated policy configuration.


  • Update user’s call back number
  • Enable, Disable their CvW policy
  • Enforce the use of an admin call back number
  • Update selected user’s or all user’s
  • Remove a user’s CvW Policy
  • Create and Assign new CvW Policies

Current version does not offer a filter capability, currently working on that.

Install Requirements

  • Must be run on workstation / server that has Skype for Business Management Shell



Available for Download at: https://gallery.technet.microsoft.com/Skype-for-Business-Call-67ad2b59

Skype for Business – Detailed User Configuration Report

I am pleased to announce and release a new script tool that will allow administrators to export user configuration details from Skype for Business. The script has 3 modes:

  1. User Mode – where administrators can enter the SIP address of the user they want to report on
  2. Domain Mode = where administrators can report on all users who are a member of a specific SIP domain
  3. Enterprise Mode – where administrators can report on all Skype for Business enabled users

The script will produce HTML based reports for each user that can be accessed by a homepage.


Skype for Business Prevent Automatic Client Sign in on Common Area Computers

I came across an interesting scenario today where there was a requirement to prevent the Skype for Business client from automatically signing back in using the previous credentials entered. For computers that are used in public or common areas, users who use the Skype for Business client application for conferences etc would have to manually sign out of the client and delete their sign in information in order for the next user to use the device using their own credentials.

An interesting “feature” of the Skype for Business application is that even if you click “Delete my Sign-In Info” link it doesn’t actually prevent Skype for Business attempting to sign back in on next logon with the previous credentials, especially if the previous user has ticked the “Remember Password” option.

Looking into the workload for the client I decided to take a registry snapshot before and after the “Delete my sign-in info” link was clicked. Comparing the registry between before and after displayed 94 entries that had been deleted or modified in some way.

Interestingly, although when delete my sign in info was executed the default sign in address was still the previous user.


%d bloggers like this: