SPO : PowerShell Script to get report of all subsites for a given site collection

In SharePoint Online, most of the times, a Site Owner would like to get subsites report of their site collection.  Here is a sample PowerShell script which uses CSOM to get all users with Full control permission in all the subsites (recursively) under the given Site Collection and outputs in an Excel sheet.  The script can…

0

SharePoint Online – Securing Add-in Principals

For the remote components of a provider-hosted SharePoint Add-in to interact with SharePoint using OAuth, the add-in must first register with the Azure ACS cloud-based service and the SharePoint App Management Service of the tenancy. The registration involves creating new Client ID/Secret and other add-in specific details. After you register your add-in, it has an…

0

SharePoint Online – Setting custom home page in Site Collection and in Sub-Sites

In SharePoint Online, using PNP’s Remote Site Provisioning approach you can request and create customized site collections.  As part of site collection creation process, one of the option could be to upload custom page and set it as default welcome page for the Site Collection.  As part of site provisioning, if you have sub-sites created…

0

SharePoint Online–CSOM Change Access Requests Settings

The Access Request in the Site settings > Site permissions is a feature which allows people to request access to content that they do not currently have permission to see. The setting that allows members to share the site and individual files and folders doesn’t overwrite the "Manage permissions" permission level, it works with permission…

0

SP 2013 – PowerShell to Modify Help Setting on Site Collection

Let’s say we want to enable/disable any of the help collection options available under Site Collection Administration settings.  This can be done using SPSiteExtension class which contains all help related extension methods for the SPSite object. Here is a simple script to disable Central Administration help [System.Reflection.Assembly]::LoadWithPartialName("Microsoft.SharePoint.Help") $site = Get-SPSite http://2013-SP [Microsoft.SharePoint.Help.SPSiteExtension]::DeactivateHelpCollection($site, "WSSCentralAdmin") To activate…

0

SharePoint 2013 : Manage Other User Profiles

SharePoint gives an option in UPSA to manage the user profiles of other users (like editing basic or contact information) in their mysite.  To edit other users profile, we need to first give “Manage Profiles” permission to a user (who wants to manage) under UPSA.     Sometimes you might get UserNotFoundException when you access…

1

Document Follow option missing in Custom Document Library

In SharePoint 2013, you can Follow people, documents, sites, and tags.  Out of the box when you create a document library, for each item you will find Follow option (both in Ribbon and Callout).  When you create custom document library using Visual studio (the ListTemplate Type value for custom library as recommended should be over…

2

SharePoint 2013 Web Analytics Report – Where is it?

  I get lots of questions regarding Web Analytics and its report in SharePoint 2013.  As you know that for SharePoint 2013 Analytics processing is no longer a separate service but is now a component of the Search service.  You can find the details behind this change in this TechNet Article under the section Web…

8

Analytics Component disk location in SP2013

Analytics processing component in Search for SP2013 requires additional 300 GB disk space (apart from 80 GB for the other search components hosted on the server except Index component) for local processing of analytics data before it is written to the analytics reporting database. Also it is preferred to have it in a separate disk…

2

Visual studio 2012 Workflows Document Set

  In one of my blog, I talked about options to create document set through visual studio workflow for SharePoint 2013.   I want to extend that blog and show you how to actually use HTTPSend activity in Visual studio 2012 and also create document set by passing the context of the user (SPWorkflowActivationProperties.Originator). For this…

0