How to use Idira Privilege Cloud Tools for License Capacity and User Reporting

How to use Idira Privilege Cloud Tools for License Capacity and User Reporting

252
Created On 11/10/26 11:02 AM - Last Modified 11/10/26 15:58 PM


Objective


This guide is aimed at privilege cloud customers who wish to understand more about their license and gain more insight into their user reporting.

The tool is found here in the marketplace: https://community.cyberark.com/marketplace/s/#a352J000000GWAZQA4-a392J000002tNgLQAU

Zip package details
 

Key Features:

Comprehensive Reporting: The script generates two report types:
  • A detailed report of User types & Vault users consuming the license in Privilege Cloud.
  • License Capacity Report (Total Users, How many consumed, how many currently logged on).
Identifying Inactive Users: The script identifies users who have been inactive for a specified number of days (Default 60), aiding in with freeing up unused resources.

Export Options: The report can be exported to a CSV file for further analysis.

Customizable Reporting: You can specify the user types you want to report on (For example only CPM,PSM)
[default are  EPVUser, EPVUserLite, BasicUser, ExtUser, AIMAccounts, AppProvider, CPM, PSM]


Ease of Use: The script is user-friendly and easy to run, requiring only minimal input parameters:
Privilege Cloud Portal URL + local CyberArk user/pass
(Must be executed from a CyberArk machine that can reach the Vault via port 1858 and 443).


Environment


13.0;13.2;13.1;14.6 Privilege Cloud;Identity Privilege Cloud Tenant / Backend

Procedure


Description and Steps

The script will enable you to understand more about your privileged cloud license, including expiration and overall capacity. The user reporting section will allow you to understand the last login dates of your licensed users to gain more insight to how your clients are utilizing the product.
 

In order to use this script the following must be true:

  1. Must execute from a machine that can reach the tenant backend via CyberArk Port 1858
    • Dynamic option here: https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/Privilege%20Cloud/PrivCloud-sys-req-networks.htm#Dynamicconfigurationrecommended
    • If dynamic addresses aren't whitelisted use "Privilege Cloud Vault service backend": https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/Privilege%20Cloud/PrivCloud-sys-req-networks.htm#Staticconfigurationifdynamicconfigurationdoesnotapply
  2. Must execute from a machine that can reach the tenant via HTTPs
    • Privilege Cloud Tenant URL, Example https://<subdomain>.cyberark.cloud
    • Dynamic option here: https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/Privilege%20Cloud/PrivCloud-sys-req-networks.htm#Dynamicconfigurationrecommended
    • If dynamic addresses aren't whitelisted use "Privilege Cloud portal": https://docs.cyberark.com/PrivCloud-SS/Latest/en/Content/Privilege%20Cloud/PrivCloud-sys-req-networks.htm#Staticconfigurationifdynamicconfigurationdoesnotapply
  3.  Local CyberArk Account
(Optional) Automating this task - Explanation on Authentication:
Since this tool is utilizing CASOS protocol to provide the license report, the authenticating user must have "cyberark" authentication profile.

- In Standard tenant, it's easy to achieve by creating a local user OR using <subDomain>_admin user.
- In Shared Services only "installerUser" has "cyberark" auth enabled. but since that user is reset after every 24h we do understand it makes things harder. In such case you can ask support to help you creating a local cyberark user in the vault with the following permissions (creating a service user will consume +1 license):

image.png

image.png

If you choose this route, we recommend onboarding this account and rotating its password.

Zip File Contents

  1. Readme.txt file
  2. VaultOperationsTester folder containing files needed to perform Connectivity tests
  3. Get-UserTypesAndUsersLoginActivity.ps1
 

Step by Step

The script may take some time to execute, depending on the number of users and the response time from the Privilege Cloud API.
  1. Download the package from the marketplace
  2. Unzip the Cyberark tools to a location such as, <Drive>:\\CyberarkTools\
  3. Click into the folder and find the subfolder named "Reports"
  4. Unzip the folder in this directory and click into the folder to find the script itself
  5. Open powershell and run the script with arguments for the report you want (see below)
    • Examples
    • Arguments
      • -PortalURL (Mandatory):
      • -AuthType (Optional):
        • Specifies the authentication type for accessing Privilege Cloud. Default value: cyberark
        • Valid values: cyberark
        • Example: -AuthType cyberark
      • -InactiveDays (Optional):
        • Specifies the number of days to consider users as inactive. Default value: 60
        • Valid values: Numeric values
        • Example: -InactiveDays 90
      • -ExportToCSV (Optional):
        • If this switch is specified, the results will be exported to a CSV file. If not specified, results will be printed in the PowerShell console.
        • Valid Values: None, including this argument will enable the feature above
      • -GetSpecificUserTypes (Optional):
        • Specifies the user types to generate a report on.
        • Valid values: EPVUser, EPVUserLite, BasicUser, ExtUser, CPM, PSM, AppProvider
        • Example: -GetSpecificUserTypes "EPVUser", "BasicUser"
      • -ReportType (Optional):
        • Specifies the type of report to generate. Default value: CapacityReport
        • Valid values: CapacityReport, DetailedReport
        • Example: -ReportType DetailedReport
  6. The report will be generated and displayed in the PowerShell console
    • If the "-ExportToCSV" argument is used, the report will also be saved as individual CSV files for each user type
 

Screenshot Examples

Capacity Report (With colored displays for expiration warnings):

CapReport.png​​​​​​
GreenLic.png
YelloLic.png
RedLic.png​​​​​

User Report:

UserReport.png


Inactive Users:

InactiveReport.png
 

Filtered CSV by inactive:

CSVReport.png
 

 

Troubleshooting:

Problem: PASWS041E You are not authorized to perform this action
This error means the user doesn't have "Audit Users" permissions in the vault, but sometimes even if it does, it still doesn't work, we believe this rare edge case is related to migration activity.
Solution: is to remove the permission and regrant it again to "refresh" it.



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj00000016rSCAQ&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail