Hi @Mohammed Thabsir,
- Starting to use PnP PowerShell consists out of 3 steps: Installing the PnP.PowerShell module Registering your own Entra ID Application Connecting and authenticating
Here are some commom issues you may meet when executing Cpnnect-PnPOnline, you can take a reference to it. If you encounter others, you can post new threads here.
- https://abhishekdhoriya.com/fixing-the-connect-pnponline-powershell-error/
- https://www.sharepointdiary.com/2021/04/connect-pnponline-command-was-found-in-module-pnp-powershell-but-module-could-not-be-loaded.html
- The script can handle larger data sets, but performance may vary based on the amount of data and the environment. Consider implementing pagination or processing items in batches if you encounter performance issues.
- It's OK to use this script.
- Instead of checking for an empty string, you can use:
$_.DeletedByEmail -eq $null
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.