Greetings..
I am looking to create a script to assign an employees manager READ access to their OneDrive.
Am I able to import/connect to the SPOService the same way I can connect to $context.O365ImportModules("exchangeonlinemanagement").
The rest of the script seems pretty straightforward:
$siteUrl = "https://<your-tenant>-my.sharepoint.com/personal/<UserEmail>_<domain>"
$managerEmail = "<ManagerEmail>"
Set-SPOUser -Site $siteUrl -LoginName $managerEmail -IsSiteCollectionAdmin $false