Giter Club home page Giter Club logo

camp's People

Contributors

microsoft-github-operations[bot] avatar microsoftopensource avatar snehakishore21 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

camp's Issues

Errors out on macOS with: New-Item: Could not find a part of the path '/Microsoft/CAMP/UserConsent.txt'.

The tool is unable to create any files under "/Microsoft/CAMP" on macOS. These are the errors I get -

PS /Users/sivasubramaniams> Get-CAMPReport
mkdir: \Microsoft\CAMP: File exists
Data Collection: The software may collect information about you and your use of the software and send it to Microsoft. Microsoft may use this information to provide services and improve our products and services. You may turn off the telemetry as described in the repository. There are also some features in the software that may enable you and Microsoft to collect data from users of your applications. If you use these features, you must comply with applicable law, including providing appropriate notices to users of your applications together with a copy of Microsoft's privacy statement. Our privacy statement is located at https://go.microsoft.com/fwlink/?LinkID=824704. You can learn more about data collection and use in the help documentation and our privacy statement. Your use of the software operates as your consent to these practices.
Do you accept(Y/N):Y
New-Item: Could not find a part of the path '/Microsoft/CAMP/UserConsent.txt'.

Set-Content: Could not find a part of the path '/Microsoft/CAMP/UserConsent.txt'.

07/28/2022 18:53:01 Log file cannot be created.
07/28/2022 18:53:01 The local machine information cannot be logged.
07/28/2022 18:53:01 A general event cannot be logged.
07/28/2022 18:53:01 A general event cannot be logged.
07/28/2022 18:53:01 Performing Configuration Analyzer for Microsoft Purview Version check... 
07/28/2022 18:53:03 A general event cannot be logged.
07/28/2022 18:53:03 A general event cannot be logged.

Invoke-CAMP partially connects and report is very limited.

Hi,

Tried the module, and this looks like an interresting report similar to the ORCA report!
I were hoping I could invoke it in the same way as the ORCA report. (to use it unattended)

My example to connect and put the output in my report folder:

$folder = "C:\reportingfolder\"

$orcaReport = Invoke-ORCA -Connect $False -Output @("HTML", "JSON") -OutputOptions @{HTML = @{DisplayReport = $False; OutputDirectory = "$folder" }; JSON = @{OutputDirectory = "$folder" } }
$campReport = Invoke-CAMP -Output @("HTML", "JSON") -OutputOptions @{HTML = @{DisplayReport = $False; OutputDirectory = "$folder" }; JSON = @{OutputDirectory = "$folder" } }

(tried also with -Connect $false but does not look like that parameter is present here ;) )

When I do this on several demo environments, the ORCA completes, but the CAMP command fails when using this method.

I am also presented with a username that needs to be entered. Hoped for a similar experience where this would run without trying to connect, to an already established connection.
8/24/2022 11:02:58 A general event cannot be logged.
08/24/2022 11:02:58 A general event cannot be logged.
08/24/2022 11:02:58 Performing Configuration Analyzer for Microsoft Purview Version check...
08/24/2022 11:03:01 A general event cannot be logged.
08/24/2022 11:03:01 A general event cannot be logged.
Input the user name: [email protected]

If I run the Get-CAMPReport command, I get the content that I am after.

Regards
Tore

Problem with Script- Get-AutoSensitivityLabelPolicy' is not recognized

I am getting the following error

The term 'Get-AutoSensitivityLabelPolicy' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
TRACE: at Get-InformationProtectionSettings, C:\Program Files (x86)\WindowsPowerShell\Modules\CAMP\1.1\CAMP.psm1: line 636
at Get-CAMPCollection, C:\Program Files (x86)\WindowsPowerShell\Modules\CAMP\1.1\CAMP.psm1: line 936
at Invoke-CAMP, C:\Program Files (x86)\WindowsPowerShell\Modules\CAMP\1.1\CAMP.psm1: line 1283
at Get-CAMPReport, C:\Program Files (x86)\WindowsPowerShell\Modules\CAMP\1.1\CAMP.psm1: line 1205
at , : line 1

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

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

CAMP report fails with an error. Could you please help?

Hello Team, we had an issue with one of our customer where the CAMP report fails with the below error message.

08/24/2023 11:31:27 INFO: Configuration Analyzer for Microsoft Purview Started
08/24/2023 11:31:27 INFO: Version Check Started
08/24/2023 11:31:44 INFO: Version Check Completed
08/24/2023 11:31:44 INFO: Establishing Connections
08/24/2023 11:32:16 INFO: Connecting to Exchange Online (Modern Module)..
08/24/2023 11:32:58 INFO: Connecting to Security & Compliance Center
08/24/2023 11:33:16 INFO: Connections Established
08/24/2023 11:33:16 INFO: Fetching User Configurations
08/24/2023 11:33:19 INFO: Getting DLP Settings
08/24/2023 11:33:47 INFO: Getting Information Protection Settings
08/24/2023 11:33:51 WARN: Force Validate not set
08/24/2023 11:33:51 WARN: Force Validate not set
08/24/2023 11:33:51 WARN: Force Validate not set
08/24/2023 11:33:53 INFO: Getting Communication Compliance Settings
08/24/2023 11:33:56 INFO: Getting Information Governance Settings
08/24/2023 11:34:00 INFO: Getting Audit Settings
08/24/2023 11:34:01 INFO: Getting eDiscovery Settings
08/24/2023 11:34:05 INFO: Getting Insider Risk Management Settings
08/24/2023 11:34:06 INFO: Getting Accepted Domains
08/24/2023 11:34:07 INFO: Getting Alert Policies Settings
08/24/2023 11:34:14 INFO: Getting Organization's region information
08/24/2023 11:34:15 INFO: Getting Organization's solution preference information
08/24/2023 11:34:15 INFO: User Configurations Fetched
08/24/2023 11:34:15 INFO: Creating Output Objects
08/24/2023 11:34:15 ERROR: Cannot find type [html]: verify that the assembly containing this type is loaded.
TRACE: at global:New-Object, : 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 , : line 1


Logging Ended
End time: 08/24/2023 11:34:15


CAMP-20230824112423.log

Error Running CAMP Report in PS

Error:10/02/2023 10:54:14 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 pe
rsists, please write to us at [email protected] along with log file at
Warning:10/02/2023 10:54:14 The report generated may have reduced information due to errors in running the tool. These errors may occur due to multiple reasons. Please re
fer documentation for more details.

azure automation

is there a way to run this using azure automation so it runs on a schedule without prompting for user name?
also is it possible to

  1. change output directory
  2. not display html report

The ORCA report now allows this

Module is not connecting without WinRM Basic Auth Enabled

Due to security configuration (Group Policy) Customer of mine has WinRM Basic Authentication disabled on all machines. Therefore using this module throws an error:

06/07/2023 10:23:26 Connecting to Exchange Online (Modern Module)..
06/07/2023 10:23:34 Connecting to Security & Compliance Center
Error:06/07/2023 10:23:34 There was an issue in connecting to Security & Compliance Center. Please try running the tool again after some time.
Error:06/07/2023 10:23:34 There was an issue in running the tool. Please try running the tool again after some time.

the solution to that would be a switch or parameter to allow the PreRelease module of Exchange Online Management (currently 3.2.0-preview4) and connect the IPPS Session with the parameter:

Connect-IPPSSession -UserPrincipalName $userName -ConnectionUri $ConnectionUri -ErrorAction:SilentlyContinue -WarningAction:SilentlyContinue -UseRPSSession:$false

See -

CAMP/CAMP.psm1

Line 134 in 1fad7ef

Connect-IPPSSession -UserPrincipalName $userName -ErrorAction:SilentlyContinue -WarningAction:SilentlyContinue

See - https://github.com/OfficeDev/CAMP/blob/1fad7ef9511ea3eacfe75be4eead212a499ce290/CAMP.psm1#LL137C12-L137C153

Would it be possible to extend the module for this function?

BG Christoph

Tell us more about your awesome experience using CAMP :)

image

It's great to hear that you enjoyed using our product! Please share your feedback on how we can further improve your MCCA experience.

NOTE: Please do not share any personal or sensitive information related to your organization and/or yourself.

Tell us about:

  • Why do you use CAMP?
  • What do you like about CAMP?
  • What do you want to see more of?
  • What role (admin, leadership, engineer, etc) do you belong to & which other stakeholders in your or use CAMP?
  • Any other feedback that you want us to work on.

Interested in discussing more?
Leave your email address and we will reach out to you or drop us an email at [email protected].

Issue Connecting to Security & Compliance Center

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: [email protected]
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 [email protected] 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 [email protected], but that returns in an NDR saying that the email doesn't exist at all.

Tell us how we can improve CAMP!

image

It's never great hear that customers didn't like our product & we understand your perspective matters a lot! Please share your feedback on how we can improve your CAMP experience.

Tell us about:

  • Why do you use CAMP?
  • What do you not like about CAMP?
  • What do you want to see more of?
  • What role (admin, leadership, engineer, etc) do you belong to & which other stakeholders in your or use CAMP?
  • Any other feedback that you want us to work on.

Interested in discussing more?
Leave your email address and we will reach out to you or drop us an email at [email protected].

Renaming of products/platforms

The output of the CAMP scan still refers to Core and Advanced eDiscovery. Please rename this to eDiscovery (Standard) and eDiscovery (Premium).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.