Exchange

Office 365: Increase Mailbox Size

Like most things, there is a predefined default, and at some point in time, there will be a need to deviate from this. Office 365 Admins should have an understanding of those and setup procedures to increase the size for individuals or the organization when the need arises

To increase the Office 365 Mailbox size we must use Windows PowerShell as the Web UI lacks the ability to make such changes at this time.

Step 1: Connect to Office 365 – Exchange Online:
An Office 365 Exchange Online Admin Account is Required

$UserCredential = Get-Credential
$Session = New-PSSession -ConfigurationName Microsoft.Exchange -ConnectionUri https://outlook.office365.com/powershell-liveid/ -Credential $UserCredential -Authentication Basic -AllowRedirection
Import-PSSession $Session

Step 2: Get information about the mailbox you are looking to increase size on. I like to take note of the results before and then after I introduce changes

Get-Mailbox jermsmit | Out-GridView
Get-Mailbox jermsmit | Select *quota

Step 3: Issue the command to increase the storage:
Example: Set-Mailbox -ProhibitSendQuota -ProhibitSendReceiveQuota -IssueWarningQuota

Set-Mailbox jermsmit -ProhibitSendQuota 69.5GB -ProhibitSendReceiveQuota 70GB -IssueWarningQuota 69GB

Step 4: Review your changes, for this we goto step Step 2

For more information on Office 365 Mailbox Limits, please visit the following: https://docs.microsoft.com/en-us/office365/servicedescriptions/exchange-online-service-description/exchange-online-limits#mailbox-storage-limits

If your looking for a good Essentials for Administration of Exchange online please swing by Amazon for an excellent book: https://amzn.to/34LeVUN

Tech Short: Use Dsquery tool to manage group memberships On-Prem to Office 365

 

I had mentioned in a previous post about the inability to self service groups.

Problem: on-premises distribution group is synced to a Microsoft Office 365 organization through Active Directory synchronization, migrated users who are owners of the distribution group can’t manage it in Microsoft Exchange Online

Solution: Use the Exchange Tools (But we no longer have exchange on prem?)

Solution: Use Active Directory Users and Computers

Solution: Dsquery.exe  – Press the Windows Key and R to open the run box and past in the following:

%systemroot%\system32\rundll32.exe dsquery.dll,OpenQueryWindow

Owners of the group should be able to make changes when needed.

Note:  You will still need to wait for dirsync to complete.

kb2417592

Office 365: Self Service of Distribution Groups

The ability to self service the creation of distributions groups has been a feature for quite some time in my Exchange experiences.  Now that I am in Office 365 / Exchange Online this functionally is no longer available for synced groups. This now forces the enlistment of the support department to facilitate all mortification for the end user.

Looking into this to get an understanding as to why this is, I’ve learned that if you’re an Office 365 Exchange Online customer and currently utilizing Directory Synchronization (DirSync) between an on-premise Active Directory and Office 365’s Azure Active Directory you will face such incidents as the objects on the Office 365 are in read only mode and are updated via the synchronization that has been put in place

You are even given a a little message when you attempt to make modification to groups:  The action ‘Update-DistributionGroupMember’, ‘Identity,Members’, can’t be performed on the object ‘Group Name’ because the object is being synchronized from your on-premises organization. This action should be performed on the object in your on-premises organization.

Now aware of this limitation that exist around group modification due to them being read only how do I work like this? I have the following two ideas to work with.

One: 

One method is to go old school and use the Use the ‘Find Users, Contacts and Groups’ tool to allow group modification. However there is an issue regarding the fact that the computer used needs to be a member of the domain and at the time of change also connected to the on premise domain network (internal or via vpn).

%systemroot%\system32\rundll32.exe dsquery.dll,OpenQueryWindow

Note: After changes have been made the condition of waiting for Directory Synchronization (DirSync) to complete its sync cycle must take place.  This can take up to 3 hours time.

 

Two:

The Second method is to change all Directory Synchronization (DirSync) Distribution Group Objects to the Azure Active Directory and make the On-Clound

Tech Short: Convert a Mailbox, Exchange 2013

Here are some steps that worked for me in converting a user mailbox to a shared mailbox.

Info: You can convert the following mailboxes from one type to another

  • User mailbox to resource mailbox
  • Shared mailbox to user mailbox
  • Shared mailbox to resource mailbox
  • Resource mailbox to user mailbox
  • Resource mailbox to shared mailbox

Example reason why you might wan’t to do this:

You have a mailbox account with the name of  bookclub and are looking make it a shared account because its consuming a license. To address this we will convert it to a shared mailbox account by issues the following commands in the Exchange Management Shell

[PS] C:\Windows\system32>Set-Mailbox "bookclub" -Type Shared

 

If you have multiple accounts, the following steps may apply to you

[PS] C:\Windows\system32>Import-CSV "C:\work\import.csv" | foreach {Set-Mailbox -Identity $_.user -Type Shared}

 

Please note the following csv document formatting:

User
"jermsmit Internal"
"jermsmit Sales"
"jermsmit Local"
"jermsmit PR"
"jermsmit Recruiter"

Ref: http://technet.microsoft.com/en-us/library/jj710164%28v=exchg.150%29.aspx

 

Tech Short: List all shared mailboxes, Exchange 2013

Quick an simple power shell line to list all shared mailboxes in your Exchange 2013 environment.

Get-Mailbox -ResultSize Unlimited -RecipientTypeDetails SharedMailbox

 

What’s a Shared Mailbox

A shared mailbox is a mailbox that multiple users can use to read and send email messages. Shared mailboxes can also be used to provide a common calendar, allowing multiple users to schedule and view vacation time or work shifts. ref: http://technet.microsoft.com/en-us/library/jj150498%28v=exchg.150%29.aspx