SPUserLicenseMapping case sensitive

Sometimes you find a solution to a stubborn problem, that leaves you feeling kind of silly how you could have missed that. The SPUserLicenseMapping was one of those. The problem was related to new Mysites not being created properly. The solution was to add the correct value for the SPUserLicenseMapping. When using ADFS as a… Read More »

SiteHealthCheck and Deleted Sites

When performing an upgrade or migration of an on premise SharePoint environment, it is important so check everything in the Farm. This particularly includes contentdatabases and sites. I ran into this when debugging a site that was partly deleted. I couldn’t get it removed and then tried to determine what the problem was, the SPSiteHealth… Read More »

Powershell to get SharePoint 2013 Recent crawl rate and recent query rate

Retrieving SharePoint Enterprise Search Service Application monitoring information through Powershell requires some deeper digging than I imagined! We can get the last search crawl results from the CrawlHistory, we can get the current CrawlState (or CrawlStatus, 100% equal, see below), but to get the information that is shown in Central Administration under Search Administration proved… Read More »

Analyzing Distributed Logon Token Cache Exception

Read carefully when you catch this error “ErrorCode<ERRCA0017>:SubStatus<ES0006>:There is a temporary failure.”, because in our case it was a misconfigured AD Kerberos Service Principal Name for the service account which runs the Distributed Caching Service. In that case you get the above mentioned error with at some point in the stacktrace the message “The target… Read More »

AppFabric DistributedCache check

Some Powershell examples of getting AppFabric Distributed Cache Instances. Work-in-progress article…   Basic Cluster Info:

CacheStatistics per CacheHost

CacheStatistics per NamedCache

    Very Basis Cache Cluster Info:

    Advanced CacheHost Status, where Distributed Cache resides on all SharePoint Front-End servers which do not host the Central Administration.

 … Read More »

Recreate OfficeWebApps Farm when patching/upgrading

A powerful, yet easy solution to simplify the process of recreating the OfficeWebApps Farm after an upgrade. As mentioned in the article from Microsoft Technet, when you want to apply a patch and/or upgrade to the OfficeWebApps software, you need to remove the OfficeWebApps Machine (Remove-OfficeWebAppsMachine) prior to the upgrade and recreate the Farm (New-OfficeWebAppsFarm)… Read More »

New-SPMetadataServiceApplication hangs

This SharePoint Powershell command stalls: “New-SPMetadataServiceApplication” Using the AutoSPInstaller script, the deployment hangs. The script finally stalls with the following: Provisioning Managed Metadata Service Application Creating SharePoint Hosted Services Application Pool… Starting Managed Metadata Service: Starting Metadata Service Instance… Waiting for Metadata service…Online Creating Metadata Service Application…   ULS Log: Blocking until timer job ‘—GUID—‘… Read More »

Getting Use-CacheCluster to work on a SharePoint server without the AppFabric Distributed Cache Role/Component

You probably have encountered it already some time ago. You want to check the status of your Distributed Cache Cluster and you login to a back-end server where there is no Distributed Cache component. You open up Powershell and start with Use-CacheCluster. It fails. You failed. You need to login to a server which is… Read More »