Author Archives: Pankaj

About Pankaj

I am a Developer and my linked profile is https://www.linkedin.com/in/pankajsurti/

How to use AAD Access Token in Connect-MgGraph?

Summary The Microsoft Graph PowerShell SDK is a great and simpler ways to get MS Graph API PowerShell code working quickly. But what I have found the source code and example to utilize the X509 certificate ways of authentication. For … Continue reading

Posted in MS Graph, Technical Stuff | 1 Comment

How to get all sites from the tenant using MS Graph API?

Summary The PnP PowerShell command Get-PnPTenantSite to get all sites from the tenant takes longer time. Additionally, it does not have asynchronous ways to get the information in the Azure Durable Function. This article uses the MS Graph API List … Continue reading

Posted in MS Graph, SharePoint | Leave a comment

How to hide welcome message for an empty SharePoint List?

Summary Create a new custom list, you will notice this new list will have the following message as shown below. An image.. + “Welcome to your new list” + “Select the New button to get started” This post should help … Continue reading

Posted in SharePoint, Technical Stuff | 1 Comment

How to extract User Profile Photo using MS Graph API?

Summary The existing Champion Management Platform Teams app created in the PnP community uses the User Profile Photo MS Graph API to extract and update the profile picture with the badge. This article will demonstrate how to do the same … Continue reading

Posted in Technical Stuff | 1 Comment

How to Export Intune reports using Graph APIs?

Summary The following REST API call is to get the InTune report data for the tenant. Please refer here for more details on the API. Step By Step Solution Step # 1 Create an Azure AD app with the MS … Continue reading

Posted in Technical Stuff | 4 Comments

How to prevent ListView WebPart from making frequent Search API calls?

Summary My customer has migrated the classic sites to SharePoint Online. Some sites’ home pages are with the list view web part, these pages make multiple query calls to Search API every 60 seconds. This will make Search API throttle … Continue reading

Posted in Technical Stuff | Leave a comment

How to turn on versioning on ALL document libraries for a site?

Summary The requirement is to turn on versioning for all site document libraries, including subsites. Also, the Major version number should be 500. The following Set-PnPList command can be used to set the Versioning and Major version as 500 for … Continue reading

Posted in PnP.PowerShell, SharePoint | Leave a comment

Build 2022 – May 24 to May 26

Summary This post is to list the Build 2022 sessions by Solution Areas. Click/Select on the Solution Area topic to get the list of sessions. Azure Azure – Application Innovation Azure – Data Azure – IoT Azure – Infrastructure Azure … Continue reading

Posted in Build 2022 | Leave a comment

How to get SharePoint audit reports using Office 365 Management APIs?

Summary The following are the customer concerns with the SharePoint sites on Microsoft 365 cloud regarding audit reports. SPO site collection admins do not receive the same GUI presentation for site audit reports that were available on the SharePoint on-premises. … Continue reading

Posted in PnP.PowerShell, SharePoint 2010, SharePoint 2013, Technical Stuff | 1 Comment

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

Summary This is the final part of the three-part blog post. Part1 and Part2 posts were focused on the basic settings for the Classic UI mode pipeline setup. In this post, I will explain more advanced, modular, and factory pattern … Continue reading

Posted in Power Apps, Power Apps, Power Automate, SharePoint, Technical Stuff | 1 Comment