Category Archives: Technical Stuff

The tenant-wide flag DisableCustomAppAuthentication in relation to Access Control System (ACS)?

Summary If you have used the Access Control System (ACS) and using its APP ID and APP Secret in the PnP.PowerShell module it may not work. The Connect-PnPOnline will work fine but when I try to get any command to … Continue reading

Posted in Technical Stuff | Leave a comment

How to get a list of Site Collection Admins for a SharePoint site?

Summary My customer had a requirement to get the list of Site Collection Admins (SCAs) for any site within the tenant for anyone in the organization. The need of the user is to find additional information from the SCA. This … Continue reading

Posted in Azure, PnP.PowerShell, SharePoint | Leave a comment

How to automate and govern the “Sites.Selected” permissions using a custom tool?

Summary Earlier, I posted an article regarding the “Sites.Selected” MS Graph permission to create the granular permissions for sites. The following is the link for the article. How does the MS Graph “Sites.Selected” permission work for granular permissions for SPO … Continue reading

Posted in Azure, PnP.PowerShell, SharePoint | 2 Comments

How to resolve “The attempted operation is prohibited because it exceeds the list view threshold.” for Remove-PnPWeb?

Summary A customer got the following error for removing a sub-site. Clearly, the issue was due to a large list or lists present in the sub-site. Since the entire subsite needs to be deleted with the large list, to eliminate … Continue reading

Posted in SharePoint, SharePoint 2010, SharePoint 2013 | Leave a comment

How does the MS Graph “Sites.Selected” permission work for granular permissions for SPO sites?

Summary To provide granular access for the sites the Azure Access Control (ACS) was used in the past. The app id and secret can be created using the add-ins, more info is described here. Note: Please check ACS retirement info. … Continue reading

Posted in PnP.PowerShell, SharePoint | 10 Comments

How to get raw data from PFX certificates?

Summary This article will show the step-by-step PowerShell commands to read the raw data from the certificate. Prerequesite is you need to create a sample PFX file. It is very easy to create such files using the PnP Powershell module. … Continue reading

Posted in PnP.PowerShell, SharePoint, Technical Stuff | Leave a comment

Application Lifecycle Management (ALM) for Power Platform (PP) 2 of 3

Application Lifecycle Management (ALM) for Power Platform (PP) 1 of 3 Application Lifecycle Management (ALM) for Power Platform (PP) 3 of 3 You will have two build pipelines and one release pipeline. 1. Create two build pipelines Follow the following … Continue reading

Posted in Power Apps, Power Apps, Power Automate | 1 Comment

Application Lifecycle Management (ALM) for Power Platform (PP) 1 of 3

This is a three-part series of blog articles. Part1 (this one) article covers prerequisites to set up ALM in Azure DevOps. Part2 article covers the Power Platform Build Tools to build and deploy the solution. Part3 article covers the  Microsoft Power … Continue reading

Posted in Power Apps, Power Apps, Power Automate | 1 Comment

How to find {sitesId} to pass to MS Graph API call?

Summary SharePoint related MS Graph API call requires {sitesid}, for example for the following API call we need {sitesId} Create permission – Microsoft Graph v1.0 | Microsoft Docs POST /sites/{sitesId}/permissions Solution Login to your SharePoint site. Go to Graph Explorer, … Continue reading

Posted in MS Graph, SharePoint | 3 Comments

How to add custom banner to alert “SharePoint 2010 workflow retirement” to site users and owners?

Summary The SharePoint 2010 workflow will retire. Microsoft announced it, see the following link. SharePoint 2010 workflow retirement For my customer, even after multiple messages to the Admins and Owners there was not an immediate action taken by the owners. … Continue reading

Posted in PnP.PowerShell, SharePoint, SharePoint 2010, SharePoint 2013 | Leave a comment