Category Archives: Exchange Online

Office 365 is a line of subscription services offered by Microsoft, as part of the Microsoft Office product line. Exchange Online is part of this package and is hosted in Microsoft Data Centers.

Modify Office 365 Exchange Online Dynamic Distribution Group to exclude shared mailboxes

This shows you how to Modify Office 365 Exchange Online Dynamic Distribution Group to exclude shared mailboxes. I used the following PowerShell script to only send to user mailboxes that aren’t shared.

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

Modify your Dynamic Distribution group with this command:
set-DynamicDistributionGroup -Name "[email protected]" -RecipientFilter {((RecipientType -eq 'UserMailbox') -and -not (RecipientTypeDetailsValue -eq 'SharedMailbox'))}
Verify in Exchange Admin Console

Preventing the on-premise exchange server from resolving after an Office 365 Migration

This post goes over preventing the on-premise exchange server from resolving after an Office 365 Migration.

First change your local DNS
autodiscover.yourdomain.com cname autodiscover.office365.com

(Option 1)Next, you need to disable SCP site-wide. I did this performing a GPO Registry edit.
HKEY_CURRENT_USER\Software\Microsoft\Office\x.0\Outlook\AutoDiscover
Notex.0 in the above registry path corresponds to the Outlook version (16.0 = Outlook 2016, 15.0 = Outlook 2013, 14.0 = Outlook 2010, 12.0 = Outlook 2007).
ExcludeScpLookup DWORD 1

(Option 2)Now you can also do this with a Reg file. Name it SCPDisable.reg
Windows Registry Editor Version 5.00
[HKEY_CURRENT_USER\Software\Microsoft\Office\14.0\Outlook\AutoDiscover]
"ExcludeScpLookup"=dword:00000001

The above is Office 2010, Notice the 14.0, and make sure you change it to the version you have.
Now simply create a new profile and your domain should now point to Office 365 by default.

Exchange Online Archive in Outlook

I recently completed a staged migration from exchange 2007 to exchange online aka Office 365. I have one user with over 50 GB of mail and I put some of the older mail in the Exchange Online Archive via the PST import tool using Azure Copy. I noticed after this was done, that the user did NOT have access to the archive in the native Outlook Client but did in Outlook Web Access. After Searching I found the following article about Licenses and Exchange Online Archiving.

https://support.office.com/en-ie/article/Outlook-license-requirements-for-Exchange-features-46b6b7c5-c3ca-43e5-8424-1e2807917c99?ui=en-US&rs=en-IE&ad=IE&fromAR=1

In short, If you don’t have Office 2013 Pro Plus / Stand-Alone Outlook or Office 365 E3/Pro Plus plan you CAN NOT use the exchange online archive in outlook. So if you don’t feel like spending the money for the license I would use a second mailbox for that user’s old mail. Personally, I just went ahead and bought the Pro Plus and installed it for that user since we only have 1 user needing it.

In my opinion this was a horrible licensing decision by Microsoft and they should revert it so any outlook can access it.