Office365 – At give fuld rettighed til en anden brugers indbakke via Powershell.

Til tider kan det blive nødvendigt at en medarbejder skal kunne se en anden medarbejders indbakke i outlook.

Her er en kort vejledning til hvordan det kan gøres via Powershell – Office365

Log på Office365 med din administrator konto:

$o365cred=get-credential

Derefter henter du Office365 scripts med følgende cmd:

$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://ps.outlook.com/powershell/ -Credential $o365cred -Authentication Basic -AllowRedirection
Import-PSSession $session

Efter du er forbundet skal du skrive følgende cmd for at give Allan fuld rettighed til Bentes mailbox:

Add-MailboxPermission -identity Bente@domain.com -user Alan@domain.com -AccessRights FullAccess

Har du behov for at give Allan fuld adgang til alle mailbokse på jeres Office365 Exchangemiljø bruges følgende cmd:

Get-Mailbox | Add-mailboxpermission -user Alan@domain.com -AccessRights FullAccess

 

Pas på powershell er super effektivt….   også til at lave fejl med!

 

God fornøjelse

 

Comments are closed.

Midtjysk EDB Center
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.