MS365 commando's

Description
Command

Verkrijg alle gebruikers op basis van UserPrincipalName, Displayname en isLicensed

Get-MsolUser

Gebruiker aanmaken

New-MsolUser -userPrincipalName [email protected] -Displayname "Volledige Naam"

Verzenden als rechten toevoegen:

Add-RecipientPermission [email protected] -AccessRights SendAs -Trustee [email protected]

FullAccess op mailbox toevoegen:

Add-MailboxPermission -Identity "[email protected]" -User "[email protected]" -AccessRights FullAccess -InheritanceType All

Verkrijg alle licenties:

Get-MsolAccountSku

Toegang gegeven tot Agenda

Add-MailboxFolderPermission -Identity [email protected]:\Calendar -User [email protected] -AccessRights Editor

Als deze niet werkt vervang dan Calendar met Agenda

Mailbox rechten toekennen zonder automapping

Add-MailboxPermission -Identity <MailboxIdentity> -User <UserIdentity> -AccessRights FullAccess -AutoMapping $false

MailboxIdentity specifies the name, alias, or email address of the mailbox where the permissions are being added.

UserIdentity specifies the name, alias, or email address of the mailbox user who's getting the permissions on the mailbox.

E-mail adres met specifiek domeinnaam

Get-Recipient -ResultSize unlimited| Where {$_.EmailAddresses -like "*@yourdomain.nl"} | FL DisplayName,EmailAddresses

Last updated

Was this helpful?