AD Attributes that are changed when a mailbox moves to Office 365

There’s not a lot of great documentation available on what values change when an on-prem mailbox moves to the cloud.   The full list is below, but it’s important to note the following values since they are most often missed \ overlooked.   msExchRemoteRecipientType, previously null, will be set to 4   msExchRecipientTypeDetails gets changed from…

2

Get-MSOLUserWithValidationError

I sometimes find that the validation error detail in the portal is less than helpful, and getting the verbiage from powershell can be a bit tricky, so I wrote the following Powershell function that will output all the Azure objects with a more human-readable version of the validation errors for each account…   function Get-MSOLUserWithValidationError…

0

Get-O365user.ps1 = MSOLuser and EXOUser and EXOMailUser or EXOUserMailbox attributes combined!

Have you ever been troubleshooting Exchange Online (EXO) and MSOnline (Azure) objects and wished there was a way to aggregate all the data together into a single object that you could manipulate either via script or pipeline, output via FT, manipulate or otherwise report on?   The following script will accept either UPN or ObjectID, locate…

0

msExchRecipientTypeDetails

Object Type RecipientTypeDetails (Decimal Value) User Mailbox 1 Linked Mailbox 2 Shared Mailbox 4 Legacy Mailbox 8 Room Mailbox 16 Equipment Mailbox 32 Mail Contact 64 Mail-enabled User 128 Mail-enabled Universal Distribution Group 256 Mail-enabled non-Universal Distribution Group 512 Mail-enabled Universal Security Group 1024 Dynamic Distribution Group 2048 Mail-enabled Public Folder 4096 System Attendant Mailbox…

7

Ugly GALsync

I often ( frequently, not someone who has lost his parents* ) find that while I am testing FIM joins and attribute flows, I would like to maintain contact objects in forest B for the users I am creating if forest A, or vice versa. Rather than setup FIM to do classic GALsync, since I…

0

So what comes after the …

If you're like me, you constantly find yourself running powershell scripts and one or more array never returns the full list, it adds that pesky … whether or not you try the FT -wide – autosize or FL and you never get the whole list.   This truncation of long output is the function of…

0

Fattening up an Exchange mailbox

Sometimes when doing mailbox testing it's necessary to actually bloat a mailbox for the purposes of benchmarking the speed of a mailbox move to Office 365, rather than risk sending sensitive data, or wasting time trying to wrangle up enough PDF or other files, you can use the following PowerShell function and one-liner to create…

1

PowerShell connectivity to Azure, Exchange Online and Exchange on-premises all-in-one

I use the following function in my PowerShell profile so that I can use the Microsoft Online cmdlets, the Exchange cmdlets against Exchange online and the Exchange cmdlets against on-premises all in one session…   Firstly – If you are unsure how to create your PowerShell profile, you can do the following (from a PowerShell session)…

0

Testing ADFS Federation with Office 365 without DirSync in place

Sometimes, as you are deploying ADFS, DirSync, Hybrid etc… you might decide that you want to test ADFS with your tenant before you have DirSync in place (maybe you're waiting on a server, or a firewall rule etc..).   This bit of code below allows you to create a cloud user and populate the ImmutableID value…

0

Office 365 Exchange Attribute migration between forests

Back in late 2012 / early 2013 I created a number of documents on advanced identity integration with Office 365 using FIM and the Windows Azure Active Directory (WAAD) Management agent.   That guidance is now available on TechNet Here : https://aka.ms/WAADFIMQuickStart https://aka.ms/WAADTechRef   One of the many advantages of the migration of a traditional account…

0