The Add-MSOnlineMailPermission cmdlet adds mail-related permissions to one or more Microsoft Online Services user accounts. ...

The Add-MSOnlineMailPermission cmdlet adds mail-related permissions to one or more Microsoft Online Services user accounts.  Syntax for adding permissions to one user account: Add-MSOnlineMailPermission Identity [email protected] -Credential $cred -TrustedUser [email protected] -GrantFullAccess True -GrantSendAs True  Syntax for adding permissions to multiple user accounts using an AddPermission.csv file (sample CSV file shown below syntax): $csv = Import-Csv -Path c:\AddPermissions.csv $csv | Add-MSOnlineMailPermission -Credential $cred  To add permissions to multiple accounts, create a CSV file like the following: Column Titles: Identity,TrustedUser,GrantFullAccess,GrantSendAs Row1: [email protected],[email protected],True,True Row2: [email protected],[email protected],True,False