Constrains On Setting Up Cloud SSA

A couple of gotchas I have encountered during setting up Cloud SSA (or Cloud Search Service Application, you can find out more about it at Learn about cloud hybrid search for SharePoint): On on-premises SharePoint side, only Integrated Windows Authentication (either NTLM or Kerberos) is supported. ADFS or other SAML based trusted identity providers would…


Update SharePoint Workflow Manager’s SQL Connection Strings

If for whatever reason you need to change your SharePoint Workflow Manager’s SQL connection strings (there are 3 for SB and 3 for WF farm), here is what you have to do: Run Get-SBFarm and Get-WFFarm PowerShell cmdlets and record all the outputs. This is very important and you will need the information to finalize…


SQL Server 2016 Log Shipping Jobs Fail Silently

Lately found out a solution to a very strange SQL 2016 Log Shipping issue: its LSBackup_<db name> job fails without any meaningful error message.  Nothing will show in SQL or Windows log. When you check its job history, you will see the job failed with below message: Date  <date time>        Log  Job History (LSBackup_<db name>)         Step ID  1        Server  <server name>…


Load Testing SAML (PING) Based SharePoint 2013 Sites

I have to proof to a customer that their SharePoint infrastructure supports their user base and workload. So the logical solution is to Visual Studio Team System (VSTS) to build web tests and load tests and simulate the load and see how the farm reacts. There is one problem: the sites are based on SAML (PingFederate is…


Simple way to hide Suite Links

Suite Links is where you see “Newsfeed, SkyDrive, Sites” on your SharePoint site’s top right corner. Courtesy of, you can inject a snippet of JavaScript to simply hide the DIV containing the links. However, the DIV’s name has changed since the blog was publishing. Below is the correct script to do the job: <script…


Where would you find ULS logs on Office Web Apps (OWA) 2013 server

For my own record as well: C:\ProgramData\Microsoft\OfficeWebApps\Data\Logs\ULS   If you do not see C:\ProgramData folder, you need to change your explorer’s viewing option to “Show hidden files, folders and drives”. Enjoy troubleshooting OWA! Zewei Song, Ph.D.Microsoft Certified Master: SharePoint 2010Microsoft Consulting Services


Where Should You Store Your SharePoint Solution’s Configuration Data?

This is a common scenario: you are designing a great SharePoint solution and you have some configuration information, such as URLs, connection strings, list names, and so on, that you have to deal with. What should you do? The easiest and dirtiest way is hard-coding them in code. It maybe fine for a small and quick…


Dr. Z is Master Z now!

I officially became a Microsoft Certified Master for SharePoint Server 2010 on March 22, 2012. The journey began more than a year early. If you read my earlier blog (, you would know that I passed all 4 MCP exams for SharePoint 2010 in February 2011, and that was the hard pre-requisition for being accepted…


Set-MsolAdfscontext Authentication Error

You are setting up Office 365 ADFS/SSO, you are connected to your Office 365 tenant with Microsoft Online Services Module for Windows PowerShell, you are trying to run Set-MsolAdfscontext -Computer <ADFS server FQDN> but keep getting prompted for your Windows credential and eventually receive an authentication error, you make sure that the Windows AD account…


Killing two birds with one stone: SharePoint HA and DR with stretch farm, and everything you want to know about it

A single SharePoint farm running across multiple data centers is called a “stretch farm”. Using a stretched SharePoint farm, you can provide fault tolerance by following the standard guidance for making databases and service applications redundant. Therefore you can achieve high availability and disaster recovery at the same time. You can follow this articles to set…