Error in the Microsoft SharePoint Server People Protocol Handler

To configure SharePoint user profile with search service in order to create employee directory with search functionalities, make sure to have the following points is configured:

  1. Configuring User Profile and Managed Metadata services
  2. Configuring Synchronization Connections
  3. Starting Profile Synchronization with full Synchronization (user need Replicating Directory Changes permissions)
  4. Adding User Profile and Managed Metadata services to web application Service Connections
  5. Grant search Default content access account permission in user profile serviceUntitled
  6. Creating search content source with this link format sps3://URL
  7. Run full Crawal

If you get this error “Error in the Microsoft SharePoint Server People Protocol Handler” in search logs then make sure to add value in My Site Host location in user profile.





Microsoft SharePoint Server 2016 on AWS

AWS is a great place to host SharePoint Server 2016 on the cloud and even AWS created cloudformation template to create high available environment for SharePoint Server 2016.

You can find cloudformation template and its documentation in this link:


Here I want to mention some points to consider when using AWS services:

  1. Hosting SharePoint Server 2016 on AWS could provide 40% savings over the typical cost to deploy an on-premises SharePoint solution.
    [Based on many factors like topology design, region, ec2 types and High available solutions]
  2. Instead of using EC2 as domain server, with AWS Managed Microsoft AD, you can run directory-aware workloads in the AWS Cloud, including Microsoft SharePoint and custom .NET and SQL Server-based applications
  3.  It’s recommended to use SQL Server AlwaysOn Availability Groups , but if you want to use Native SQL Server Failover Clustering then you need third party tools and services.


SharePoint 2013 Prerequisites Wizard failed because of Application Server Role and Web Server (IIS) Role

Sometimes SharePoint 2013 Prerequisites Wizard failed with the following error:

The tool was unable to install Application Server Role, Web Server (IIS) Role.


In most cases the reason for this error two things:

  1. Unable to install .NET Framework 3.5
  2. Or Current SharePoint setup is not compatible with Windows version, for example to install SharePoint 2013 in Windows Server 2012 R2 then you need to have SharePoint Server 2013 with Service Pack 1

To fix the first reason, follow the notes in this post

For the second reason, try the following solution:

Go to C:\windows\System32 folder, find and copy  “ServerManager.exe” as “ServerManagerCMD.exe” then run the prerequisite installer for SharePoint again.


Cleaning content database from missing files after upgrading

General Notes:

  1. Take backup form content database
  2. Run it in testing server before go production
  3. Run Test-SPContentDatabase again and again and make sure all issues are fixed
  4. Sometimes missing files issues could be in pages in recycle bin or in old page versions

Issue 1: MissingFeature

Fix: Follow steps in this article

Or use this tool SharePoint Feature Administration and Clean Up Tool to find and delete broken features in a SharePoint farm

Issue 2: MissingSetupFile

Fix: Follow steps in this article

Issue 3 & 4 : MissingWebPart & MissingAssembly

Fix: Follow steps in this article


Updated – Maximizing SharePoint Security Whitepaper 2.0

I updated Maximizing SharePoint Security whitepaper with points and topics related to SharePoint 2016 as the following:

  • Added CIS SharePoint 2016 benchmark
  • Added New features of SharePoint 2016 which related to security like
    • Data Loss Prevention
    • Outgoing SMTP Encryption
    • TLS 1.2 support
    • Patching with Zero downtime
    • New changes for SharePoint 2016 service accounts

You can download the document from this URL

SharePoint Search result Page throw Error for anonymous User

When anonymous user go to SharePoint search , he got an error with correlation id, when checked the logs I found the following error related to Security Token and SPContext:


To fix the issue, you have to change impersonate=”true” as it’s the default value in web.config:

<identity impersonate=”true” />

and to resolve custom code that need to use impersonate=”false”, run you code with evaluated privilege.

Install SharePoint 2016 Prerequisites Offline/Manually

Nothing new in installing SharePoint 2013/2016 prerequisites offline or manually and you can find many articles for how to do it like for example  but here just some notes to be considered.

  1. You can install all SharePoint prerequisites manually except for Windows Server App Fabric, you need to install it using the following command:
    WindowsServerAppFabricSetup_x64.exe /i CacheClient,CachingService,CacheAdmin /gac
  2. Or by running the following command using  prerequisite installer
    prerequisiteinstaller.exe /AppFabric:path\appFabric1.1-RTM-KB2671763.exe
  3. To install .NET Framework manually, make sure to enable this policy Specify settings for optional component installation and component repair if you want to install it from the internet.
    Dism /online /enable-feature /featurename:NetFX3 /All
  4. Or to install it from the ISO windows server
    Dism /online /enable-feature /featurename:NetFX3 /All /Source:D:\sources\SxS /LimitAccess
  5. Install WcfDataServices by command:
    prerequisiteinstaller.exe /wcfdataservices56: WcfDataServices.exe location

Recommendations for Patching SharePoint 2016

According to Microsoft and other references, SharePoint patching has the following criteria:

  1.  SharePoint 2016 publish new Cumulative update for each month
  2. Always last cumulative update includes Feature 1 & Feature 2 of SharePoint 2016
  3. Start install update file start with “sts” which is the primary SharePoint update
  4. Then install the second file start with “wss” which is contains updates for all languages
  5. SharePoint does not require a specific order for servers to patch
  6. To patch SharePoint 2016 with zero downtime then you need to fulfill a specific condition, for more information
  7. SharePoint 2016 binaries, patches, and language packs include all the fixes are required for Project Server
  8. After applying the patching, run Configuration Wizard in each server or run this command
    psconfig -cmd upgrade -inplace b2b -wait -cmd applicationcontent -install -cmd installfeatures -cmd secureresources
  9. In case of issues, review the PSConfig and Upgrade log files
  10. To reduce the time of patching, make sure to stop these services: SharePoint Timer Service, SharePoint Search Service, SharePoint Search HostController Service and IIS
  11. SQL Server patching is separated from SharePoint patching
  12. Always check these sites for new updates and recommendations
  13. Review Microsoft SharePoint update deployment cycle

SharePoint 2016 Search Service in Arabic

This technical whitepaper describes how to configure search service for SharePoint Server in Arabic, in addition to what is the search components to be implemented.

لا يخفى على كثير من الناس أهمية المعلومات وكثرة مصادرها في حياتنا اليومية , بل إنك سوف تلاحظ أن جزء كبير من العمل اليومي الذي نقوم به الهدف منه هو البحث عن المعلومات سواء كانت هذه المعلومات داخل مستندات أو قواعد بيانات أو غير ذلك من المصادر , لذلك من المهم البحث عن المعلومات بشكل صحيح لأنه سيؤدي إلى حفظ  كثير من الوقت في إيجاد المعلومة بشكل سريع وفعال وأيضا الحصول على أفضل النتائج.

شركة مايكروسوفت كغيرها من الشركات التي أهتمت بمحركات البحث من حيث تطويرها وإدراجها داخل منتجاتها ومن ذلك بيئة الشيربوينت SharePoint حيث تم إدراج محرك البحث منذ أول إصدار للشيربوينت SharePoint عام 2001 حتى إصدارها الأخير للشيربوينت SharePoint 2016

You can download it from TechNet:

SharePoint 2016 Multi-Lingual Sites in Arabic

This technical whitepaper describes how to configure variation for SharePoint Server 2016, in addition to what is the best practices to have mulit-lingual sites to be implemented.

تيح لك الشيربوينت إنشاء موقع متعدد اللغات بإستخدام عدة طرق سوف نشرحها في هذه الأوراق مع إنشاء بعض الأمثلة التي  تساعدنا على فهم هذه الطرق والتعرف على بعض الميزات وأيضا معرفة بعض القيود أو الأسباب التي تساعدنا على تحديد أي من الطرق المتاحة في الشيربوينت ستكون هي الأنسب أو الأفضل على حسب المتطلبات أو المعطيات التي تواجهنا عند إنشاء موقع متعدد اللغات.

You can download it from TechNet: