Gerenios / AADInternals

AADInternals PowerShell module for administering Azure AD and Office 365
http://aadinternals.com/aadinternals
MIT License
1.24k stars 214 forks source link

SyncML request failed #1

Closed Skons closed 3 years ago

Skons commented 3 years ago

Upon following this Blog https://o365blog.com/post/mdm/ I hit a dead end with "Start-AADIntDeviceIntuneCallback -PfxFileName .\d03994c9-24f8-41ba-a156-1805998d6dc7-MDM.pfx -DeviceName "SixByFour". The error itself was not clear, but after adding $_ to the error "throw "SyncML request failed: $($ | out-string)"_" This pretty string popped up: SyncML request failed: Invoke-WebRequest : The response content cannot be parsed because the Internet Explorer engine is not available, or Internet Explorer's first-launch configuration is not complete. Specify the UseBasicParsing parameter and try again.

I could start internet explorer, but i added -UseBasicParsing to line 602. That solved my problem.

NestoriSyynimaa commented 3 years ago

Thanks for noticing! Updated all Invoke-WebRequest commands to include -UseBasicParsing