DN value in AAD Sync AAD Connect – the NEW format

DirSync \ FIM used to use the Immutable ID value in the Azure connector space, making it somewhat straightforward to search for objects in the Azure CS using the ImmutableID (either copied from MSOL powershell or from the onprem AD ObjectGUID value converted to a Base64 string), however in AAD Sync and AAD Connect the…

4

Powershell, The Clipboard, and re-living the past …

One of my favorite Powershell features is the ability to export the output of pretty much anything to the clipboard using | clip I've found that piping to clip is much easier than trying to export output to a TXT or CSV file, then finding and opening the file… For those of you who are…

2

IMCEAEX non-delivery report

When migrating from on-prem Exchange to Office 365, it's best to treat it like any other cross-forest move and populate each object's LegacyExchangeDN value as an X500 address, otherwise you'll get NDR errors replying to old messages or calendar entries once mailboxes start moving. When receiving IMCEAEX NDRs, you can use the contents of the…

0

msExchRemoteRecipientType

When dealing with attributes synced to O365 via FIM \ DirSync \ AAD Sync, you will frequently encounter the msExchRemoteRecipient type attribute, previously empty in on-prem Exchange (only msExchRecipientTypeDetails and msExchRecipientDisplayType had values) the msExchRemoteRecipientType will have the following values depending on the object type and how the mailbox and archive were enabled \ moved…

5

Migrating OnPrem DLs to Cloud DLs

If you find that you need to migrate an onprem DL into a cloud DL, you can use the script below…. <# .SYNOPSIS        This command converts a Federated DL to a Cloud-only DL   .DESCRIPTION     This command accepts the DISPLAY NAME of a on-prem DL that has been synchronized to Azure and appears…

0

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