Administration

SharePoint Online PowerShell – Get started, issues and development

Get started 1. Download and open the SharePoint Online Management Shell Link: https://www.microsoft.com/en-us/download/details.aspx?id=35588 Open the shell (run as administrator) 2.  Proxy authentication (Optional)

3. Connect to your SharePoint Online Simple:

It will ask you for password. Complete: For more information: https://technet.microsoft.com/en-us/library/fp161372.aspx

  Issues Import Module issue Run SharePoint Online Management Shell in administrator […]

Find out all site collections with activated enterprise feature

Currently I have a lot of administrative requests due to my migration projects. One of that is to find out all site collections with activated enterprise feature. When you activate the enterprise feature on site collection scope, the following features will be activated. SharePoint 2013 SharePoint 2010 enterprise feature also contains a feature with the […]

Grant permission to all existing databases to a user

First make sure you pick the right role: https://msdn.microsoft.com/en-us/library/ms189121.aspx For existing databases use this

  For future ones use this

Create content database and add the site collection in that particular content db by powershell

In the central administration there is no option to select the database when you create a site collection but my best friend can help you. Check out this powershell commands.

Here is the SharePoint 2013 Site Template ID List. Happy SharePointing!

Get the size of all site collection

Just another useful script. This powershell code shows the site url and the size in GB. If you need the size in MB, remove “/1024” and replace “GB” with “MB”.

Enjoy!

Search Navigation (Dropdown) SP2013

Today my co-worker asked me for help “Can you setup the search dropdown navigation for all subsites in the site collection? The search navigation should inherit from the root site.”. Pretty simple requirement, I thought. I started to configure the search navigation setting. Issue: The dropdown displayed as expected but the sub-sites were not inheriting […]

Missing web application feature after deployment

Here is what to do when you miss the web application features after deploying a custom solution. 1. Check on which server the solution was deployed on Powershell: Get-SPSolution -identity “solution name” | fl LastOperationDetails You will find out that the solution was not installed on the server you run the CA. 2. Go Check and […]

CA on Application or Web Server

Lately I’ve discussed a lot about where the Central Administration should be and what services should run on which server. After facing some issues due to the wrong configuration and spending hours for troubleshooting, this is what I came up with. Reason to leave CA on an application Server: 1. Performance It is not a […]