In a recent support case we had a case that the customer had some urgency to add a new Allowed Domain to be quickly pushed to his Skype for Business 2015 Edge Servers.
However, the replication wasn’t working:
Get-CsManagementStoreReplicationStatus | ft -AutoSize
An easy solution to this is to perform a manual update and then fix the replication.
First, we need a copy of the latest configuration:
Export-CsConfiguration -FileName C:\UCLobby\SfB-Config_20170224.zip
Now copy the file to each Edge Server and execute the following PowerShell cmdlet:
Import-CsConfiguration -FileName C:\UCLobby\SfBConfig_20170224.zip -LocalStore
Note: In this case we need to specify the LocalStore switch so it updates the local database.
This is also possible if we run, on each Edge Server, Step 1 from the Skype for Business Server Deployment Wizard:
Please note that manually updated the Edge Server configuration probably won’t fix the replication issue:
These steps are valid to Lync Server 2010/2013 and Skype for Business Server 2015.
This should be only use as a quick workaround to update the local store while we fix the replication issue.
While reviewing a comment on Missed call notification when the call is blocked by CallerIDBlock MSPL Script we realize that the calls blocked by the CallerIDBlock are hard to track.
An easy way to get an event for each blocked call is to use the Log function:
MSPL built-in functions > Log
The CallerIDBlock previous version (1.1) sends the log to the debug log, to view this log we need the APILogger.exe. For more details please check:
Deploying and Troubleshooting Lync Server 2010 MSPL Applications
However, the MSPL Log function has the ability to send it to the Event Viewer.
Since we may not want to have the Event Viewer full of events, we added a new .config file:
The file can be changed on-the-fly like the BlockedTelephoneNumbers.txt. This means that we don’t need to reload the script if we want to change the log setting.
For reference, the following code was change from:
Here is an example if we configure the log setting to rejected:
We can also set it to both, then the CallerIDBlock will also log the allowed calls:
Note: We only recommend to the setting both for troubleshooting purposes.
The CallerIDBlock v1.2 can be downloaded from TechNet Gallery:
MSPL: Blocking Calls on Lync Server/Skype for Business 2015 Based on CallerID