Skip to content

Latest commit

 

History

History

Meeting-20250408-AD3SharedMailboxes

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

AD3 Shared Mailboxes

Commands for working with Shared Mailboxes in AD3

Requirements

  • The ExchangeOnlineManagement module installed. See Commands for Required Module script for installation commands
  • The account running the shell session must be in one of the uConnect RBAC "<dept>-MSGADMINS" groups

Connect to Exchange Online

Import Exchange Online Management Module and Connect

Import-Module -Name ExchangeOnlineManagement
Connect-ExchangeOnline

Show Connection Information

Get-ConnectionInformation

Close Connection (Run When Done Working with Exchange)

Disconnect-ExchangeOnline

Displaying Exchange Item Information

Show Mailbox Information

Get-EXOMailbox -Identity "[email protected]" -PropertySets All

Show Mailbox Custom and Delivery Settings

Get-EXOMailbox -Identity "[email protected]" -PropertySets Custom,Delivery
#Mailbox Property Sets
<#
All
Minimum
AddressList
Archive
Custom
Delivery
Moderation
Policy
Quota
Retention
#>

Show Mailbox Statistics (Including Last Login Time)

Get-EXOMailboxStatistics -Identity "[email protected]" -PropertySets All

Show Mailbox Permissions

Get-EXOMailboxPermission -Identity "[email protected]"

Show Mailbox Folder Permissions

Get-EXOMailboxFolderPermission -Identity "[email protected]:\Calendar"

Show Mobile Devices for User Account

Get-EXOMobileDeviceStatistics -Mailbox "[email protected]"

Show Send-As Rights for Mailbox

Get-EXORecipientPermission -Identity "[email protected]"

Show Distribution Group

Get-DistributionGroup -Identity "[email protected]"

Configuring a Shared Mailbox

Configure Mailbox to Shared

Set-Mailbox -Identity "[email protected]" -Type shared

Set Sent-As Message Copy

Set-Mailbox -Identity "[email protected]" -MessageCopyForSentAsEnabled $True

Grant Full Mailbox Access to Distribution Group

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

Remove Full Mailbox Access to Distribution Group

Remove-MailboxPermission -Identity "[email protected]" -User "[email protected]" -AccessRights FullAccess

Grant Send-As Rights to Distribution Group

#Add-RecipientPermission -Identity "[email protected]" -Trustee "[email protected]" -AccessRights SendAs
#Currently not working. Need to work with uConnect admins on the issue