Failing to Join to AzureAD and Sync Primary User with Intune

Hello, all!

Our MSP is consistently having issues with our deployments joining AzureAD and Syncing the device to its primary user within Intune on one of major clients’ tenants.

After prioritizing the task in the global deployment order, it seems to work perfectly for a time, and now we find we need to manually join it to Azure and set it to the corresponding user.

Any fixes for this? Here’s some errors we are receiving:

Global script ‘Configure AzureAD’ had a terminating error when run in Set mode

While processing ESS-L-4N7BBS3

The JSON-RPC connection with the remote party was lost before the request could complete.

####################

Global script ‘Sync Primary User with Intune Combined Script’ had a terminating error when run in Set mode

While processing Cannot proceed because ‘AzureDeviceId’ is not available.

Cannot proceed because ‘AzureDeviceId’ is not available.