Quantcast
Channel: Devolutions Forum - Recent Posts
Viewing all articles
Browse latest Browse all 19717

Topic "Office 365 power shell." a message from James Dyke

$
0
0
Not sure if anybody can help here but.

to add full mailbox and send as permissions for Exchange in O365 you need to use PowerShell.
the commands are.

This logs you on to the O365 server
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
$LiveCred = Get-Credential $Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $LiveCred -Authentication Basic –AllowRedirection
Import-PSSession $Session
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
Then these commands ad the permissions.
Add-MailboxPermission sam@vaughandata.co.uk -User joe@vaughandata.co.uk -AccessRights FullAccess

Add-MailboxPermission sam@vaughandata.co.uk -User joe@vaughandata.co.uk -AccessRights sendas
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
can I make a set of commands available in rdm???

Thanks James.

Viewing all articles
Browse latest Browse all 19717

Trending Articles