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

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

Open Sivasubramaniam-AST opened 2 years ago

Sivasubramaniam-AST commented 2 years ago

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.