SharePoint Online site using PnP PowerShell

Install Powershell V7

iex "& { $(irm https://aka.ms/install-powershell.ps1) } -UseMSI"
Install-Module PnP.PowerShell

Open Powershell V7

Can try other methods if the below doesn’t work

Register-PnPEntraIDAppForInteractiveLogin -ApplicationName "PnP PowerShell" -SharePointDelegatePermissions "AllSites.FullControl" -Tenant xxxx.onmicrosoft.com -Interactive

Copy the ClientID that’s been created

(No Ratings Yet)