A while ago, I wrote about a script that I had built for creating BitTitan MigrationWiz connectors with the parameters necessary to do bulk resource mapping. This worked pretty well, until I downloaded the newest version of the PowerShell module when I had to do it for a customer that was already partway through their migration.… [ Continue reading ]
Managing Content Searches in the Security & Compliance Center
Recently, a customer asked for clarification on the difference between Content Search (Security & Compliance center | Search & investigation | Content search) and the Content Search feature in an eDiscovery case (Security & Compliance center | Search & investigation | eDiscovery). … [ Continue reading ]
WannaCry/WannaCrypt and other Ransomware
This past week has seen the widespread growth of the WannaCry ransomware attack, which was based on the EternalBlue SMB vulnerability. We released security update MS17-010 on March 14, 2017 to address the vulnerability.
Preliminary reports show at least 300,000 computers have been affected globally by this ransomware that encrypts files, requiring up to $600 in bitcoin payments within 7 days before the data is deleted.… [ Continue reading ]
Copy Get-History to Clipboard
I’ve been working on a little project, and the need to retrieve the last n number of commands I’ve executed in PowerShell has become a tedious task. As you’re (hopefully) aware, Get-History is a great cmdlet to review exactly how you got to where you are. … [ Continue reading ]
AADConnect Undocumented Filters
From time to time, you may find that you need to selectively filter out users going to Office 365. The easiest way to do it is with a scoping filter. We do have some documents on setting the cloudFiltered attribute in the metaverse to True, but that requires creating new rules. … [ Continue reading ]
Disable Office 365 Groups Creation: Redux
Update: I posted roll-back steps at the bottom of the article.
Several months ago, I wrote a blog on Disabling Office 365 Groups. It seems as though we couldn’t leave well enough alone. Such is a price of progress.
I got a new laptop a few weeks ago, and then found myself in the position of helping out a few colleagues this week. … [ Continue reading ]
Migrating Hybrid Public Folders to Office 365
Update: Shameless plug: I’ve written more extensively about public folder migrations from both the 2007/2010 and 2013/2016 perspectives in the book, “Office 365 Administration: Inside Out,” available at http://aka.ms/thebookonit.
So, tonight I started the last phase of one of my longest-running projects since joining Microsoft–an Exchange Online migration for a school district that I began nearly a year and a half ago. … [ Continue reading ]
AAD Connect Error CD-8235 Exporting to AD Connector
This afternoon, I ran into a customer with a very interesting configuration–a 300-user department with 15 domain controllers spread among 6 sites.
Which, given our guidance in the past didn’t seem that out of line (redundant domain controllers at each site to process logons).… [ Continue reading ]
Testing AD FS for Office 365 without Directory Synchronization
Let’s say you’re in one of the following scenarios:
- You need to set up AD FS for a shared hosting environment and won’t have any identities synchronized from the forest where AD FS will be deployed and want to verify that the AD FS infrastructure is working.
Troubleshooting Mailbox Migration Error “You can’t use the domain because it’s not an accepted domain for your organization.”
While migrating users via MRS between organizations (especially to Exchange Online), a pretty common error that I run across is:
You can’t use the domain because it’s not an accepted domain for your organization.
This error is generated because the MailUser object of the user you’re attempting to migrate has a proxy address attached to it that is NOT an accepted domain in your target organization or tenant.… [ Continue reading ]
Removing Proxy Addresses from Exchange Recipients
This script and the accompanying post have been updated.
I saw a request come through the other day for a method to remove unwanted proxy addresses for contacts. I’d had some code sitting around from a project a few years back and decided to freshen it up, and maybe add some newer tricks.… [ Continue reading ]
PingProvisioningServiceEndPoint error when configuring AAD Connect
This afternoon, while configuring AAD Connect for a customer, I ran into a new error when I clicked Install at the end of the installation wizard:
An error occurred executing Configure AAD Sync task: Unexpected exception thrown. Action: PingProvisioningServiceEndPoint, Exception: An error occurred.… [ Continue reading ]
Migrating EOP Settings Between Tenants
I find myself currently writing tools to both support my and other organization projects, as well as looking for ways to refine existing tools and scripts, make my life easier for future migrations, and provide additional resources to the community to help other customers more successfully use our products.… [ Continue reading ]
Export and Import Calendar Processing Information
UPDATE: The final script has been relocated to the PowerShell Gallery: https://www.powershellgallery.com/packages/ExportImport-CalendarProcessing/5.1
During my current project, it became necessary to capture additional calendar processing parameters that are not preserved during a normal hybrid move–such as booking policies.
Some of the challenges that I faced in customer environments when writing this tool:
- Blank or unpopulated attributes
- Conversion of sAMAccountName values to PrimarySmtpAddress
- Multiline attributes with special characters
- Attributes that were set for the wrong recipient type
The first thoughts I have when building a tool generally involve four concepts:
- What data do I need to gather/export
- What format is the source data
- What format do I need to save it in
- How do restore/import that data back into the target?
Checking for an elevated PowerShell prompt
I just built a tool for a team of consultants to use, and some of the commands require elevation. Rather than relying on telling them it needs to be elevated, I wanted to be able to exit immediately if the session wasn’t so precious time wasn’t wasted.… [ Continue reading ]
