SharePoint Online – Site Collection External Sharing Settings App

★★★★★★★★★★★★★★★ Summary SharePoint Online provides an ability to share contents to external users. This is a great feature for collaboration with your partners. However, the External Sharing can be enabled/disabled only in SharePoint Admin Portal or PowerShell which requires the user to be part of SharePoint Online administrators group. This creates a dependency on Tenant…

0

SharePoint Online – Change Site Collection Ownership App

★★★★★★★★★★★★★★★ Summary The Change Site Collection Owner application is used for changing the Site Owner of a site collection in SharePoint Online by the current site owner or any site collection administrator. Out of the box in SharePoint Online, the Site Owner can only be changed in SharePoint Admin Center or PowerShell which requires the…

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…

0

SPO : PowerShell to get Custom Actions in a Site Collection

★★★★★★★★★★★★★★★ [System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint.Client”) [System.Reflection.Assembly]::LoadWithPartialName(“Microsoft.SharePoint.Client.Runtime”) $siteUrl = Read-Host -Prompt “Enter sitecollection url” $username = Read-Host -Prompt “Enter user login name” $password = Read-Host -Prompt “Enter user login password” -AsSecureString $ctx = New-Object Microsoft.SharePoint.Client.ClientContext($siteUrl) # SharePoint Online $credentials = New-Object Microsoft.SharePoint.Client.SharePointOnlineCredentials($username, $password) $ctx.Credentials = $credentials $rootWeb = $ctx.Site $ctx.Load($rootWeb) $ctx.ExecuteQuery() $caColl = $rootWeb.get_userCustomActions() $ctx.Load($caColl) $ctx.ExecuteQuery() Write-Host Write-Host ‘Total…

0

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…

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…

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…

0