HuduAutomation
HuduAutomation copied to clipboard
MSP360 -> Hudu - Detailed report not displaying
I am working on getting this script implemented and I have ran into an issue with the detailed report not displaying on the asset. When looking at the code line 250 looks different than the rest in that block.
It currently reads:
$null = $job_fields.add('detailed_report', $($processedJob).toString())
Should it read like this?
$null = $job_fields.add('detailed_report', $($processedJob.DetailedReport).toString())
When I make the change, it displays the link but it is just plain text.
I was able to fix this, check out the pull request https://github.com/lwhitelock/HuduAutomation/pull/26/commits/1426f185f531820383f75097c6b23beb5d76f710
I cannot seem to get this to work -- Getting
PS D:\Temp> .\get-msp360-details.ps1 Invoke-HuduRequest: 'No such host is known.' WARNING: A connection error occured or Hudu version is below 2.21 Invoke-HuduRequest: 'No such host is known.' WARNING: A connection error occured or Hudu version is below 2.21 Invoke-HuduRequest: 'No such host is known.' Creating Layout Invoke-HuduRequest: 'No such host is known.' Invoke-HuduRequest: 'No such host is known.' Invoke-HuduRequest: 'No such host is known.' Company Aurora Financial Not found in Hudu. Please rename in MSP360 Invoke-HuduRequest: 'No such host is known.' Company Hartigan Power Equipment Not found in Hudu. Please rename in MSP360 Invoke-HuduRequest: 'No such host is known.' Company Code Blue Computing Not found in Hudu. Please rename in MSP360 Invoke-HuduRequest: 'No such host is known.'
I've double checked and recreated my MSP360 API credentials as well as the HUDU API. What am I missing? These companies do exist in Hudu.