I m trying manage onedrive with powershell. Does anyone know which command to share a Onedrive folder for an external user? i didnt find it
I need this because i am trying to develop a script that makes sharing multiple folders from onedrive to diferents external users from an excel file.
The command: Set-PnPListItemPermission -List $listname -Identity $listItem -User $emailaddress -AddRole $access -ClearExisting . it just works for internal users
Thanks in advance!!!