“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 2013 Search using PowerShell

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

Read more

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

Problem: SharePoint 2013 search crawl process is running infinitely! and crawl not stopping!! Solution: Tried stopping the crawl process from 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, it stops the…

Read more

Getting Login Prompt on Anonymous Access Enabled SharePoint Sites?

Problem: We Enabled anonymous access to a SharePoint 2013 and users still getting Login prompts! Solution: Here is the check list 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…

Read more

Export SharePoint Users and Group Permissions to Excel

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 may need to reformat it a bit! Here is it…

Read more

Reset Search Index in SharePoint 2013 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 search index in SharePoint 2013. Go to SharePoint 2013 Central Administration >> Service Applications  Pick your Search Service Application  On the Search Administration page, click on the “Index Reset”…

Read more

Delete Web application using PowerShell in SharePoint 2016

To delete SharePoint Web application using PowerShell use this cmdlet: 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 databases…

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