
Hello @Chandra Kishore Bodduru ,
Welcome to Q&A Forum!
Please run the below PNP PowerShell as an admin:
#Config Variables
$SiteURL = "https://tenant.sharepoint.com/sites/sitename"
$ListName ="listname"
$FolderServerRelativeURL = "/Sites/sitename/listname/foldername"
#Connect to PnP Online
Connect-PnPOnline -Url $SiteURL -UseWebLogin
#Set folder permissions - Add User
Set-PnPfolderPermission -List $ListName -identity $FolderServerRelativeURL -User "******@tenant.onmicrosoft.com" -AddRole "Edit"
Thanks,
Echo Du
==============================
If an Answer is helpful, please click "Accept Answer" and upvote it.
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.