maurice-daly / DriverAutomationTool

Home of the Driver Automation Tool
https://www.msendpointmgr.com
BSD 2-Clause "Simplified" License
399 stars 120 forks source link

Tool not getting Microsoft computer models list #539

Open Pat2345 opened 7 months ago

Pat2345 commented 7 months ago

Hi,

I have an issue running the DAT tool 7.2.3 on a Windows Server 2022 box, it works fine for Dell, HP models, but I am not getting the Microsoft computer models list. I get this error in the UI :

Setting values in the UI ConvertFrom-Json : Cannot bind argument to parameter 'InputObject' because it is null. At line:1302 char:58 ... $global:MicrosoftModelList = $MicrosoftJsonDetails | ConvertFrom-Json


CategoryInfo : InvalidData: (:) [ConvertFrom-Json], ParameterBindingValidationException
FullyQualifiedErrorId : ParameterArgumentValidationErrorNullNotAllowed,Microsoft.PowerShell.Commands.ConvertFromJsonCommand

And I get this in the log file:

Reading Microsoft JSON Web content from https://raw.githubusercontent.com/maurice-daly/DriverAutomationTool/master/Data/OSDCatalogMicrosoftDriverPack.json DriverAutomationTool 4/12/2024 3:51:18 PM 2484 (0x09B4)
======== Error(s) Occurred ======== DriverAutomationTool 4/12/2024 3:51:18 PM 2484 (0x09B4)

[Error] - 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. DriverAutomationTool 4/12/2024 3:51:18 PM 2484 (0x09B4)

Take not that the server has limited Internet access, but I tested these 2 URLs from Microsoft Edge and they work fine:

https://raw.githubusercontent.com/maurice-daly/DriverAutomationTool/master/Data/MSProducts.xml
https://raw.githubusercontent.com/maurice-daly/DriverAutomationTool/master/Data/OSDCatalogMicrosoftDriverPack.json

Could it be a missing web site that I need to whitelist or the fact that Internet Explorer is not available anymore on Server 2022?

Tnx for help

Patrick
ThatsaDingo commented 6 months ago

I also have the same issue.