Run PnP error
Hi everyone
Anyone experienced with PnP commands? I’ve been using PnP to delete data from the SharePoint Online (SPO) recycle bin. The command was working fine until about a month ago, but now it’s no longer functioning. After running line 2, I received an error ”
Original command:
Install-Module PnP.PowerShell -RequiredVersion 1.12 -Force -Allowclobber
Connect-PnPOnline -Url Admin-Sharepoint URL -Interactive
Connect-PnPOnline -Url Sharepointsite-URL-Interactive
Get-PnPRecycleBinItem -RowLimit 10000 | Where-Object{$_.DeletedByEmail -eq “Emailaddress”}
Get-PnPRecycleBinItem -RowLimit 10000 | Where-Object{$_.DeletedByEmail -eq “Emailaddress”} | Clear-PnPrecycleBinItem -Force
Please share and help. Thank you.
Hi everyoneAnyone experienced with PnP commands? I’ve been using PnP to delete data from the SharePoint Online (SPO) recycle bin. The command was working fine until about a month ago, but now it’s no longer functioning. After running line 2, I received an error ” AADSTS700016: Application with identifier ‘32545457f-bcre-4ytc-8987b-fdb8787748e’ was not found in the directory ‘ABC’. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant”orginal command:Original command: Install-Module PnP.PowerShell -RequiredVersion 1.12 -Force -AllowclobberConnect-PnPOnline -Url Admin-Sharepoint URL -InteractiveConnect-PnPOnline -Url Sharepointsite-URL-InteractiveGet-PnPRecycleBinItem -RowLimit 10000 | Where-Object{$_.DeletedByEmail -eq “Emailaddress”}Get-PnPRecycleBinItem -RowLimit 10000 | Where-Object{$_.DeletedByEmail -eq “Emailaddress”} | Clear-PnPrecycleBinItem -Force Please share and help. Thank you. Read More