MicrosoftLearning / MD-102T00-Microsoft-365-Endpoint-Administrator

MIT License
51 stars 44 forks source link

AAD Connect Installation failing with a Set-MsolDirSyncEnabled error #63

Closed SkillableBB closed 11 months ago

SkillableBB commented 1 year ago

Practice Lab: Synchronizing Identities by using Azure AD Connect

Task: 01

Step: 20

Description of issue

On the Ready to configure page, ensure that Start the synchronization process when configuration completes is selected, and then select Install.

After clicking Install, then after a few seconds returns a Set-MsolDirSyncEnabled error [p1]. Investigating the error log further, it gives nodescript exception errors with text to try again later [p2]. We've also confirmed reports of this behavior occurring in other labs and WorkshopPLUS content, so it appears there may be an error on MSFT's end.

[p1]

image

[p2]

image

craigbeeremct commented 1 year ago

All my students got this error on Monday. We all waited a bit and tried again, and the process worked, so I put it down to something about the short time between creating the tenant and installing ADConnect. Maybe that guess was not right?

SkillableBB commented 1 year ago

We've been seeing it widespread on Skillable and still reproducing it with tenants in instances 24-48 hours after they've been created.

mctniteshshukla commented 1 year ago

any update on this, it is urgent for us as none of the students are able to continue because this lab has a dependency on it.

WigF1 commented 1 year ago

This isn't a 'lab only' thing; it's a problem affecting anyone trying to install AADC. I did some digging in ILSpy at the underlying binaries and it seems like AADC merely imports the MSOnline module and invokes the same command you could do manually.

In ILSpy when looking at the MSOnline module, all the references are for API calls which are HTTP only and my money is on Microsoft disabling an endpoint that the MSOnline module calls, which in turn breaks our ability to change organisation configuration.

With regards not being able to continue @mctniteshshukla , you absolutely can continue. I am delivering the course this week. It does mean the following:

The other labs should work as intended.

craigbeeremct commented 1 year ago

I have a student who has been trying the ADConnect ocasionally during this week. He reports that it worked as of about half an hour ago. I tried the install and it worked for me. I've asked the rest of class to do the ADConnect lab at end-of-class today (in about an hour).

WigF1 commented 1 year ago

I just retried my install and it worked fine! Seems like someone at MS re-enabled the endpoint!

Thanks @craigbeeremct

MSFT-rstearman commented 12 months ago

Last week we’ve learned that the Security Fraud team rolled out a patch for M365 trial tenants. This patch requires users to sign up using a credit card to validate their ID. Multiple content teams are impacted (not just use), that are dependent on these tenants. For us, this impacts our labs, New Credentials, and other areas that require an M365 tenant.

WigF1 commented 12 months ago

Interesting! Is this the likely cause of the issue? I saw on other forums that 'real' tenants were also affected.

MSFT-rstearman commented 12 months ago

@WigF1 That is interesting. If you have info or examples of this issue spanning to non-test tenants, please provide some examples. All of our testing is showing that "real tenants" (non-test tenants) are not affected.

MSFT-rstearman commented 11 months ago

Closing this out as it has been resolved.