Azure AD Connect Error: System.ArgumentNullException

[vc_row][vc_column][vc_column_text]Recently a client was having issues with AD user accounts not synchronizing into Azure AD. When kicking off a sync through the Synchronization Service Manager things appeared to be operating normally.  However, when attempting to trigger a sync through PowerShell it threw a very obtuse message:


PS C:\> Import-Module adsync
PS C:\> Get-ADSyncScheduler
Get-ADSyncScheduler : System.ArgumentNullException: Value cannot be null. Parameter name: token
PS C:\> Start-ADSyncSyncCycle -PolicyType Initial
Start-ADSyncSyncCycle : System.Management.Automation.CmdletInvocationException: System.ArgumentNullException: Value cannot be null. Parameter name: token

After checking in the event log to see if I could find any helpful indicators of the failure, I found a 906 event in the ADFS logs:

Sure enough the password expired for the service account used by AD Connect.  The password was reset and the cmdlet to sync worked and user accounts showed up in AAD![/vc_column_text][/vc_column][/vc_row]

Share:

Facebook
Twitter
LinkedIn
Picture of Levi Stevens

Levi Stevens

Contact Us

=
On Key

More Posts

WME Cybersecurity Briefings No. 020
Cyber Security

WME Security Briefing 26 July 2024

Pro-Houthi Group Targets Yemen Aid Organizations with Android Spyware Overview A suspected pro-Houthi group, OilAlpha, is targeting humanitarian organizations in Yemen with advanced Android spyware. The operation is associated with the activity cluster codenamed OilAlpha. It

Read More »
WME Cybersecurity Briefings No. 019
Cyber Security

WME Security Briefing 23 July 2024

Samba File Shares Targeted by DarkGate Malware in Recent Cyber Offensive Overview Recent investigations by Palo Alto Networks uncover a brief but significant cyberattack campaign utilizing DarkGate malware. This malicious software exploited Samba file shares to

Read More »
WME Cybersecurity Briefings No. 018
Cyber Security

WME Security Briefing 15 July 2024

OVHcloud Mitigates Record-Breaking 840 Million PPS DDoS Attack Overview In April 2024, OVHcloud, a top French cloud computing firm, successfully stopped a massive DDoS attack. The attack hit a record-breaking rate of 840 million packets per second

Read More »
E-Commerce Security - Solutions for Online Retailers
Azure

E-commerce Security – Solutions for Online Retailers

Today’s hyper-charged e-commerce landscape demands top-notch cybersecurity measures. Cybersecurity for this bustling sector isn’t just about ticking a technical box; it’s the cornerstone of building trust. As businesses and consumers flock to the online space, the

Read More »
Be assured of everything

Get WME Services

Stay ahead of the competition with our Professional IT offerings.

=