“There was an error during Installation, The tool was unable to install Application Server Role, Web Server (IIS) Role.” In SharePoint 2013 Products Preparation Tool

Problem: SharePoint 2013 Products Preparation Tool failed with an error “There was an error during Installation – The tool was unable to install Application Server Role, Web Server (IIS) Role.” during prerequisites installation in Windows Server 2012 R2. Solution: Mount the Windows 2012 R2 ISO into the drive and install the roles…

Read more

Add New Content Source in SharePoint Search using PowerShell

Requirement: Create a new search content source in SharePoint 2013 / 2016. PowerShell script to add new content source: Here is the PowerShell script to create a new content source in the SharePoint search. You must run full crawl for any new content source created. Here is how: How to Start SharePoint…

Read more

SharePoint Full Crawl Stuck? Force Stop SharePoint Search Crawl using PowerShell

Problem: SharePoint 2013 search crawl process is running infinitely! And crawl was not stopping!! Solution: I tried stopping the crawl process from the search administration page of SharePoint 2013 central administration but failed. PowerShell to rescue! This script checks whether the crawler status is “Idle” for the given content source. If not,…

Read more

Getting Login Prompt on Anonymous Access Enabled SharePoint Sites?

Problem: We Enabled anonymous access to SharePoint 2013, But still, users are getting Login prompts! Solution: Here is the checklist for troubleshooting: Anonymous access must be turned on both at the Web Application level and at the SharePoint site level. Double-check your settings with How to Enable Anonymous Access in SharePoint 2013 …

Read more

Export SharePoint Users and Group Permissions to Excel

Requirement: Export users and group permissions to Excel in SharePoint. Here is the shortcut to export SharePoint users and groups permission to Excel: Open your SharePoint site in Internet Explorer. Navigate to either site permissions or any User group.  Right-click on the users list page, choose the “Export to Excel” item. You…

Read more

Reset Search Index in SharePoint 2013 / 2016 using PowerShell

Problem: SharePoint 2013 search crawling process got stuck, and we got to reset the corrupted search index. Solution: Follow these steps to reset the search index in SharePoint Server. Go to SharePoint Central Administration >> Service Applications  Pick your Search Service Application  On the Search Administration page, click on the “Index Reset”…

Read more

Delete a Web application using PowerShell in SharePoint 2016

To delete SharePoint Web application using PowerShell, use this cmdlet: Remove-SPWebApplication How to Delete a Web Application and All its zones? This deletes the entire Web application and its all zones: Remove Web Application Along with All its Databases and IIS Web Site: To remove the Web application along with its content…

Read more

SharePoint Group vs Active Directory Group – Which is Best?

So you need to determine the best way to manage SharePoint users, Whether to use SharePoint groups or Active Directory groups to manage permissions in SharePoint? Well, Both SharePoint Group and AD Group have their own advantages and disadvantages. Let me list down some of them: Manageability: Any SharePoint site owner/admin can…

Read more