The Search-Assets command, is giving the below error:
Search-Assets : You are not authorized to perform this operation. Access is denied.
At line:7 char:11
+ $Assets = Search-Assets -AssetType "UNIX Machine" -Filter {("displayn ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Search-Assets], Exception
+ FullyQualifiedErrorId : SearchAsset,Symantec.CSM.PS.Assets.SearchAssets
Release : 12.x
This is the result of the user running the script not having a role in CCS.
Verify that the user running the script has been added to the correct role with the required tasks.
That the user has been add the correct permissions in Permission Management.
https://techdocs.broadcom.com/us/en/symantec-security-software/information-security/control-compliance-suite/12-5-2/Appendix-Materials/powershell-scripts-v123332016-d8e203420.html