OfficeDev / CAMP

Configuration Analyzer for Microsoft Purview (CAMP) is a tool which, on execution, generates a report highlighting known issues in your compliance configurations.
MIT License
26 stars 8 forks source link

Error generating report: ERROR: Cannot find type [html]: verify that the assembly containing this type is loaded. TRACE #15

Open davidrc2009 opened 1 year ago

davidrc2009 commented 1 year ago

Hello,I got this error when running CAMP the report was not generated. I don't know what could have gone wrong.

Logging Started
Start time: 07/21/2023 15:41:39
Computer Name: HSDQIT036
Operating System Name: Microsoft Windows 10 Pro
Operating System Version: 10.0.19045
PowerShell Version: 5.1.19041.3031
********************************************************************************************
07/21/2023 15:41:39 INFO: Configuration Analyzer for Microsoft Purview Started
07/21/2023 15:41:39 INFO: Version Check Started
07/21/2023 15:42:05 INFO: Version Check Completed
07/21/2023 15:42:05 INFO: Establishing Connections
07/21/2023 15:42:56 INFO: Connecting to Exchange Online (Modern Module)..
07/21/2023 15:43:30 INFO: Connecting to Security & Compliance Center
07/21/2023 15:43:55 INFO: Connections Established
07/21/2023 15:43:55 INFO: Fetching User Configurations
07/21/2023 15:43:56 INFO: Getting DLP Settings
07/21/2023 15:45:07 INFO: Getting Information Protection Settings
07/21/2023 15:45:14 WARN: Force Validate not set
07/21/2023 15:45:15 INFO: Getting Communication Compliance Settings
07/21/2023 15:45:20 INFO: Getting Information Governance Settings
07/21/2023 15:45:30 INFO: Getting Audit Settings
07/21/2023 15:45:31 INFO: Getting eDiscovery Settings
07/21/2023 15:45:35 INFO: Getting Insider Risk Management Settings
07/21/2023 15:45:36 INFO: Getting Accepted Domains
07/21/2023 15:45:36 INFO: Getting Alert Policies Settings
07/21/2023 15:45:40 INFO: Getting Organization's region information
07/21/2023 15:45:41 INFO: Getting Organization's solution preference information
07/21/2023 15:45:41 INFO: User Configurations Fetched
07/21/2023 15:45:41 INFO: Creating Output Objects
07/21/2023 15:45:41 ERROR: Cannot find type [html]: verify that the assembly containing this type is loaded.
TRACE: at global:New-Object, <No file>: line 32
at Get-CAMPOutputs, C:\Program Files\WindowsPowerShell\Modules\CAMP\1.1\CAMP.psm1: line 547
at Invoke-CAMP, C:\Program Files\WindowsPowerShell\Modules\CAMP\1.1\CAMP.psm1: line 1291
at Get-CAMPReport, C:\Program Files\WindowsPowerShell\Modules\CAMP\1.1\CAMP.psm1: line 1205
at <ScriptBlock>, <No file>: line 1
********************************************************************************************
Logging Ended
End time: 07/21/2023 15:45:41
AnilSiddam commented 11 months ago

Hi David, I am having the same issue. Do you managed to get a solution for this problem. If yes, please share the steps to resolve and fix it. Thanks!