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
29 stars 8 forks source link

Issue Connecting to Security & Compliance Center #11

Open pozzeurr opened 1 year ago

pozzeurr commented 1 year ago

When I run the Get-CAMPReport I get an error:

PS C:\WINDOWS\system32> get-campreport
03/15/2023 10:02:51 Performing Configuration Analyzer for Microsoft Purview Version check...
Input the user name: USERNAME@DOMAIN.onmicrosoft.com
03/15/2023 10:03:19 Connecting to Exchange Online (Modern Module)..
03/15/2023 10:03:50 Connecting to Security & Compliance Center
Error:03/15/2023 10:03:50 There was an issue in connecting to Security & Compliance Center. Please try running the tool again after some time.
Error:03/15/2023 10:03:50 There was an issue in running the tool. Please try running the tool again after some time.
Please refer to the documentation and FAQs available at https://github.com/OfficeDev/CAMP/blob/main/README.md to get guidance for resolving common issues. If the issue persists, please write to us at CAMPhelp@microsoft.com along with log file at C:\Users\USERNAME\AppData\Local\Microsoft\CAMP\Logs\CAMP-20230315100247.log
Warning:03/15/2023 10:03:50 The report generated may have reduced information due to errors in running the tool. These errors may occur due to multiple reasons. Please refer documentation for more details.
03/15/2023 10:03:50 Get the log at C:\Users\USERNAME\AppData\Local\Microsoft\CAMP\Logs\CAMP-20230315100247.log
PS C:\WINDOWS\system32>

I have the required roles (Global Reader and Compliance Admin), and can see in Azure sign-in logs that I am successfully authenticating to Microsoft Exchange REST API Based Powershell.

I also noticed that the error states to email CAMPhelp@microsoft.com, but that returns in an NDR saying that the email doesn't exist at all.

DeanGross commented 11 months ago

having the same problem