Moba x Term
Enter the following text when setting up Exchange online Terminal
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session -DisableNameChecking
https://www.powershellgallery.com/packages/ExchangeOnlineManagement/1.0.1
PS> Install-Module -Name ExchangeOnlineManagement
Connect-ExchangeOnline -UserPrincipalName [email protected] -ShowProgress $true
https://docs.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-powershell?view=exchange-ps#connect-to-exchange-online-powershell-without-using-mfa
Add-MailboxPermission -Identity “Jeroen Cool” -User “Mark Steele” -AccessRights FullAccess -InheritanceType All -AutoMapping $true
Example
[email protected] needs full access to [email protected]
Add-MailboxPermission -Identity [email protected] -User [email protected] -AccessRights FullAccess -InheritanceType All -AutoMapping $true
Add-RecipientPermission [email protected] -AccessRights SendAs -Trustee [email protected]
https://docs.microsoft.com/en-us/powershell/module/exchange/add-mailboxfolderpermission?view=exchange-ps
https://www.nucleustechnologies.com/blog/how-to-grant-permissions-to-other-office-365-mailboxes/