Search This Blog

Tuesday, May 16, 2017

Audiocodes Mediant SBA Lyss error

Bumped into an error:

Log Name:      Lync Server
Source:        LS Storage Service
Date:          5/16/2017 5:54:02 PM
Event ID:      32071
Task Category: (4006)
Level:         Error
Keywords:      Classic
User:          N/A
Computer:     xxx
Storage Service had a failure while refreshing its calculation of DB space used.

DB Space Used Refresh Error. Object reference not set to an instance of an object.
Cause: The Timer task to refresh the DB space used value ran into an exception. This action will be retried and should auto recover.

Check event details. If problem persists, notify your organization's support team with the event details.

For the moment, not clear what causing it.

Option I consider for the moment are:

install latest Lync CU
install windows patches inside SBA (esp. .NET)
reset fabric
repair fabric
redeploy CS databases
repair SBA image and re-deploy from scratch

some relevant links I collected so far:

update: nothing really helped, we did completely redeploy from usb key. 

Friday, May 5, 2017

Skype for Business/ Lync meeting expiration

Non-recurring meetings will expire in 2 weeks, if someone will opens it on 15th days  after meeting end date the URL will not work with error as below. I think 14 days is hardcoded, I’m not sure we can change it – refer to

To avoid the issue, create a recurring meeting, they will expire after farthest occurrence in the future.

About timestamp – note it is hardcoded to UTC time zone. 


Machine:xxJoin attempted at(UTC):05/05/2017 07:52:54CorrelationId:94320997User Agent:Mozilla/5.0 (Windows NT 6.3; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/58.0.3029.96 Safari/537.36Accept Header:text/htmlapplication/xhtml+xmlapplication/xml;q=0.9image/webp*/*;q=0.8Incoming URL:https://yyyTelemetryId:ffcc417b-9794-4445-8110-a530a3016ebdError:Invalid Conference organizer or Conference ID

Thursday, April 27, 2017

Call to Exchange UM subscriber fails

We have an SBA xxx  then gives an error 500 when we call to Exchange UM subscriber in hybrid Office 365/OnPrem deployment.

15000; reason="Unable to read the user properties publication for the user or contact object."; source="xxx"; appName="ExumRouting"

The solutuon/workaround is to re-create or move contact:

move-CsExUmContact -Identity sip:voicemailxxx@xxx -Target zzz

where ZZZ is hub frontend pool.

Thursday, April 13, 2017

Wireshark filter an IP out

To filter out undesirable IP do not use !=

but rather

! ( ip.addr == )

Poylcom VVX UC software and lyncdiscoverinternal

Hello, small note for those who is trying to adapt lyncdiscoverinternal to point to external Reverse Proxy in order to find a good ballance for SFB mobile users.  Mobile phones do not have corporate CA root certificates installed by default.

Apparently Polycom VVX UC software  require that lyncdiscoverinternal point to internal IP, if not it will product a very "descriptive" error:

SSL_get_error Error code=5,rc(0)

The workaround is to disable lync autodiscover and point directly to an internal host:



or in the phone advanced menu in sign-in dialog.

or change lyncdiscoverinternal to point back home.

It looks like this is a new situation, as it seems older versions worked ok.

Wednesday, April 5, 2017

Install CMS database in SQL cluster for Skype for Business or Lync - use

when you want to install SFB CMs database skeleton on SQL failover cluster add the parameter UseDefaultSQLpaths .  If not the cmdlet may wrigly guess the default location and will fail.

Install-CsDatabase -CentralManagementDatabase -SQLServerFQDN chglsqlvssfb15.IUCN.sys  -SQLInstanceName  SFB2015 -UseDefaultSQLpaths -Verbose

Friday, February 17, 2017

Sonus CCE admin guide


Wednesday, February 15, 2017

Quickly check user phone assignment in Lync or Skype for Business

Get-CsUser | where {$_.LineURI -eq "tel:+59625431255" -or $_.PrivateLine -eq "tel:+59625431255"} | format-table -property displayname,LineURI,privateline

Monday, February 6, 2017

DPM system state backup error

Type: Consistency check
Status: Failed
Description: DPM cannot create a backup because Windows Server Backup (WSB) on the protected computer encountered an error (WSB Event ID: 517, WSB Error Code:  0x98ED90). (ID 30229 Details: Internal error code: 0x80990ED0)
More information
End time: 06.02.2017 10:24:38
Start time: 06.02.2017 09:18:17
Time elapsed: 01:06:21
Data transferred: -
Cluster node -
Source details: Computer\System Protection
Protection group members: 1
Protection group: Protection Group
Items scanned: 0
Items fixed: 0

in the WBS inside the server we can see it actually corresponds to low space error. indeed we have 12GB free on the drive E: and backup size is 14GB.

As we decide not to touch the drive E: (it is IDE VHD drive on that server, we add new VDHX file attached to SCSI adapter - this way we can alter disk space online. Which is not possible with VHD attached ove IDE interface. You will have to shutdown server and then change.

Now new drive F: can take the load.

go to C:\Program Files\Microsoft Data Protection Manager\DPM\Datasources and in the file PSDataSourceConfig.xml locate E; - drive short in space in section FilesToProtect and replace by F:  new drive.

Rerun consistance check in DPM.

Exchange 2016 onPrem mailbox restore error TooManyMissingItemsPermanentException

Hello, if you get this error

Error: This mailbox exceeded the maximum number of corrupt or missing items
that were specified for this request.

while running a powershell to restore mailbox from recovery DB:

New-MailboxRestoreRequest -SourceDatabase "RMLB05" -SourceStoreMailbox 86a3500a-53aa-4124-9661-76bab9d2fd15 -TargetMailbox –TargetRootFolder Recovery -SkipMerging FolderRules 

try to add a switch -BadItemLimit 1000


Thursday, January 26, 2017

CentOS 7.3 on HyperV

In order to make CentOS 7.3 work in Hyper-V, please add legacy network adapter first, then mount ISO

and run install from CENTOS73 folder.

Aftet that you will have support for standard network adapter and you can remove legacy one.

to activate automatic connection use  nmtui

Monday, January 16, 2017

LDAP limits for .net queries

When using LDAP queries in .NET or Java, do not forget about limits:

ntdsutil: ldap policies
ldap policy: connections
server connections: connect to server dc
Binding to srvdc ...
Connected to srvdc using credentials of locally logged on user.
server connections: q
ldap policy: show value

Policy                          Current(New)

MaxPoolThreads                  4
MaxDatagramRecv                 4096
MaxReceiveBuffer                        10485760
InitRecvTimeout                 120
MaxConnections                  5000
MaxConnIdleTime                 900
MaxPageSize                     1000
MaxQueryDuration                        120
MaxTempTableSize                        10000
MaxResultSetSize                        262144
MinResultSets                   0
MaxResultSetsPerConn                    0
MaxNotificationPerConn                  5
MaxValRange                     1500
ThreadMemoryLimit                       0
SystemMemoryLimitPercent                        0

ldap policy: set maxpagesize to 5000
ldap policy: commit changes
ldap policy: q
ntdsutil: q

Visual Studio hangs when debugging SharePoint .net code at breakpoint

if the VS hangs on breakpoint when debugging SP with Process attach, try to reset IDE:

devenv.exe /ResetSettings

Tuesday, January 3, 2017


be aware:

Log Name:      Operations Manager
Source:        HealthService
Date:          29.12.2016 15:30:53
Event ID:      1217
Task Category: None
Level:         Information
Keywords:      Classic
User:          N/A
Computer:      xxx
The Microsoft Monitoring Agent running on computer "xxx" is suspended for the following reason:
"ConfigMgr 5.00.8239.1000 - SMS_MaintenanceTaskRequests - {55B3DD10-2110-4EBC-A8EF-E03D66EB3160}"