Skip Ribbon Commands
Skip to main content

Quick Launch

Todd Klindt's home page > Todd Klindt's Office 365 Admin Blog > Posts > How to Control Azure AD Connect Auto Upgrade
July 17
How to Control Azure AD Connect Auto Upgrade

I’ve been working with Azure AD Connect (AADC) for a couple of years now. For those of you that haven’t had the pleasure yet, Azure AD Connect is a tremendous piece of software that you install on-prem and it syncs your on-prem Windows Active Directory to your Azure Active Directory or Office 365 tenant. It has come a long way since the old DirSync days. If you’re an IT Pro that has mainly worked with on-prem software like SharePoint and you’re curious where your career is going, this is it. You’re going to have to become an identity expert, or maybe start practicing those grocery bagging skills. Running AADC through its paces is a good way to start your journey into Azure, Hybrid, and Identity.

Azure AD Connect has greatly benefitted from Microsoft’s recent(-ish) move to agile software updates. For well over a year now Microsoft has been slipping out updates to AADC and made significant improvements to it, all the while not breaking anything. An amazing feat! Smile You can see from their Version History page they keep very busy.

At the very beginning of the AADC installation Wizard you encounter a fork in the road; you can do an Express Install, or an Advanced Install. I tell most people, especially people that are new to AADC that Express is a great option. It’s very close to Next –> Next –> Finish and it does a good job getting everything wired up. Later, you can go back and rerun the installation in Advanced mode to tweak anything you need to. It’s very well done. One of the things that the Express installation does is set AADC to automatically upgrade itself when Microsoft publishes its next tasty upgrade. Like I mentioned above, the upgrades have added some great functionality with none of those nasty regressions that we’ve come to fear from upgrades. Unfortunately, until recently, if you chose to do an Advanced install right out of the chute, AADC was not set to automatically upgrade itself. And to make matters worse, that wasn’t necessarily brought to your attention during the install. If you weren’t paying attention, or didn’t know to look, you’d be stuck with that version of AADC forever. How sad!

To address that scenario, and just to give you some control over the upgrade process, I’m blogging the setting. This way you can see what your auto upgrade status is as well as change it if you’d like. Plus it gives you another opportunity to play in PowerShell. Who doesn’t love that?

First log into the machine where AADC is installed and open a PowerShell prompt. It does not need to Run as Administrator. There are two cmdlets that deal with AADC’s autoupgrade status; Get-ADSyncAutoUpgrade and Set-ADSyncAutoUpgrade. Here’s a screenshot to break up the monotonous wall of text:


As expected, we can run Get-ADSyncAutoUpgrade to set what our current status is:


We can see here that AADC is set to automatically upgrade itself with the newest juicy bits that come out. What if we didn’t want that? Maybe we have a migration freeze coming up and updates can be applied. It’s a sad state of affairs, but it happens. To do that we use:

Set-ADSyncAutoUpgrade -AutoUpgradeState Disabled

As a guy that’s used a lot of PowerShell, I find myself wishing this followed the $TRUE / $FALSE structure, but I can work with this. Since there are only three acceptable values (Enabled, Disabled, and Suspended), you can tab complete the cmdlet name, the parameter name, and the value “disabled.” That helps.

Now AADC will not upgrade itself. But does this impact the sync cycles? Not at all. If we run Get-ADSyncScheduler we see that syncs are still happy and scheduled to run as expected.


Once our maintenance freeze is over we can reenable the autoupgrades with

Set-ADSyncAutoUpgrade -AutoUpgradeState Enabled


That’s a much more satisfying feeling than disabling. Smile 

In most cases I am afraid of autoupgrading software, but so far AADC hasn’t burned me, so I’ll give it the benefit of the doubt.




PowerShell administrator

You don't need to be running "as administrator" for the Get command, but you DO need to for the Set command as it requires registry access.
 on 7/17/2017 1:33 PM

Re: How to Control Azure AD Connect Auto Upgrade

Sometimes, most people would think that having call girls with them during their business trips will distract them from business work. But, the opposite things happen all the time. When you have a glamorous babe with you, your personality will improve and people will listen to you more.
 on 10/9/2023 4:58 AM

Escorts In Bindapur

The opportunity has arrived to take out the entirety of your concerns and tragedies as an autonomous escort young lady is here to meet you. Disregard everything terrible that occurred in your affection life up to this point. Now is the ideal time to feel heartfelt and partake in your days and evenings with your beautiful accomplice. Enlist our provocative escort young lady now and satisfy your assumptions. Make your affection life loaded with heartfelt spine chillers by getting our escort administrations.
 on 11/10/2023 5:18 AM

Jaipur Call Girls

These young ladies has changed a great deal. These days, a customer may approach them to go for a short outing as opposed to heading off to a lodging for one night. You can take these young ladies with you for a lengthy drive or for a corporate gathering.
 on 11/10/2023 11:19 PM

Goa Escort

We have a wide selection of different nationalities of escorts who are always ready to provide the best-in-class services. All the escorts in our agency have been trained by experts and have many years of experience. You can get the best of escorts, who will surely fulfill all your wild desires.From stunning, unique personalities to the perfect body types, you can find exactly what you need from our selection of the best call girl in Goa.
 on 11/27/2023 11:41 PM

Goa Escort

No more reasons, simply better closeness with our autonomous and prepared to blend accompanies in. Try not to pass up on this opportunity now and get to taste the best of woman parts, titties, and so forth… !! Is it safe to say that you are invigorated? So are we… !! Book your #1 call young lady today… !! Presently get your number one Russian escorts in with only a call.
 on 11/29/2023 4:12 AM

Aerocity Call Girls Agency

Our escorts are skilled, experienced and professional people and offer great value for your money. So, it pays to pay with cash and make the most of your escort experience. Let yourself be carried away by pleasure and enjoy a satisfactory escort experience in a cost-effective manner. What more can you ask for? So, book now and bask in a sensational escort experience.
 on 11/29/2023 11:51 PM

Escorts Mahipalpur

They are bubbly and delightful and will exceed all your expectations for an amazing date. It is time that you break away from the everyday life and treat yourself to an extraordinary experience. Our VIP model are professionals and passionate in the services they offer.Make the most out of every moment spent with our models and you will leave with sweet memories that will stay with you for a long time.
 on 11/30/2023 6:37 AM

Escort in Aerocity

Often there are tedious procedures to book a leading escort service Aerocity. But this is not the case with Aerocity agency. Our booking methods are simple i.e., through WhatsApp or calls. You can use technology to know your dream girls before a perfect date.
 on 11/30/2023 6:47 AM

Escort Mahipalpur

These ladies offer clients an unforgettable experience in the city that is perfect for any occasion. Whether it is a night out on the town, a romantic dinner date, a corporate event or even a wedding, Mahipalpur call girls are available to meet all of your needs. You can be sure to feel pampered and relaxed when their services are hired.
 on 12/1/2023 3:19 AM
1 - 10Next

Add Comment

Items on this list require content approval. Your submission will not appear in public views until approved by someone with proper rights. More information on content approval.


Body *

Today's date *

Select a date from the calendar.
Please enter today's date so I know you are a real person


Want a message when I reply to your comment? Put your Twitter handle here.