Skip to content

ISPSS - Version Check Fails - No results returned #566

@tarheeljeff

Description

@tarheeljeff

Describe the issue
I am seeing two different issues:

  1. When performing a New-PASSession the version check is failing. (NOTE: The API users has the System Administrators Role in Identity)
  2. After what appears to be a successful login, no commands are returning any results. (NOTE: I have confirmed that when I login manually via the UI, I am able to perform the actions)

To Reproduce
Steps to reproduce the behavior:

  1. Import required modules
  2. Run 'New-PASSession' to login
  3. Run 'Get-PASSession to confirm session is active
  4. Run basically any command where results should return

Expected behavior
Commands return some results

Screenshots & Console Output

PS H:\> Import-Module CredentialRetriever

PS H:\> Import-Module psPAS

PS H:\> New-PASSession -IdentityTenantURL https://abc123.my.idaptive.app -PrivilegeCloudURL https://ncjob.cyberark.cloud -Credential $psCredentials -IdentityUser -Verbose
VERBOSE: Performing the operation "Logon" on target "https://abc123.my.idaptive.app".
VERBOSE: Loading module from path 'C:\Users\user\Documents\WindowsPowerShell\Modules\IdentityCommand\IdentityCommand.psd1'.
VERBOSE: Loading 'FormatsToProcess' from path 'C:\Users\user\Documents\WindowsPowerShell\Modules\IdentityCommand\xml\IdCmd.ID.Session.Format.ps1xml'.
VERBOSE: Loading module from path 'C:\Users\user\Documents\WindowsPowerShell\Modules\IdentityCommand\IdentityCommand.psm1'.
VERBOSE: Exporting function 'Add-CustomType'.
VERBOSE: Exporting function 'Clear-AdvanceAuthentication'.
VERBOSE: Exporting function 'Compare-jobreString'.
VERBOSE: Exporting function 'Complete-SamlAuthentication'.
VERBOSE: Exporting function 'ConvertTo-InjobreString'.
VERBOSE: Exporting function 'ConvertTo-QueryString'.
VERBOSE: Exporting function 'Find-SharedServicesURL'.
VERBOSE: Exporting function 'Get-EscapedString'.
VERBOSE: Exporting function 'Get-IDResponse'.
VERBOSE: Exporting function 'Get-MechanismAnswer'.
VERBOSE: Exporting function 'Get-Parameter'.
VERBOSE: Exporting function 'Get-ParentFunction'.
VERBOSE: Exporting function 'Get-SessionClone'.
VERBOSE: Exporting function 'Hide-SecretValue'.
VERBOSE: Exporting function 'Invoke-IDRestMethod'.
VERBOSE: Exporting function 'Out-QRImage'.
VERBOSE: Exporting function 'Select-ChallengeMechanism'.
VERBOSE: Exporting function 'Start-AdvanceAuthentication'.
VERBOSE: Exporting function 'Start-Authentication'.
VERBOSE: Exporting function 'Start-SamlAuthentication'.
VERBOSE: Exporting function 'Unprotect-Answer'.
VERBOSE: Exporting function 'Clear-IDUserSession'.
VERBOSE: Exporting function 'Close-IDSession'.
VERBOSE: Exporting function 'Get-IDAnalyticsDataset'.
VERBOSE: Exporting function 'Get-IDConnector'.
VERBOSE: Exporting function 'Get-IDDownloadUrl'.
VERBOSE: Exporting function 'Get-IDSession'.
VERBOSE: Exporting function 'Get-IDTenant'.
VERBOSE: Exporting function 'Get-IDTenantCname'.
VERBOSE: Exporting function 'Get-IDTenantConfiguration'.
VERBOSE: Exporting function 'Get-IDUser'.
VERBOSE: Exporting function 'Get-IDUserIdentifier'.
VERBOSE: Exporting function 'Get-IDUserRole'.
VERBOSE: Exporting function 'Invoke-IDSqlcmd'.
VERBOSE: Exporting function 'Lock-IDUser'.
VERBOSE: Exporting function 'New-IDPlatformToken'.
VERBOSE: Exporting function 'New-IDSession'.
VERBOSE: Exporting function 'Suspend-IDUserMFA'.
VERBOSE: Exporting function 'Test-IDUserCloudLock'.
VERBOSE: Exporting function 'Unlock-IDUser'.
VERBOSE: Importing function 'Clear-IDUserSession'.
VERBOSE: Importing function 'Close-IDSession'.
VERBOSE: Importing function 'Get-IDAnalyticsDataset'.
VERBOSE: Importing function 'Get-IDConnector'.
VERBOSE: Importing function 'Get-IDDownloadUrl'.
VERBOSE: Importing function 'Get-IDSession'.
VERBOSE: Importing function 'Get-IDTenant'.
VERBOSE: Importing function 'Get-IDTenantCname'.
VERBOSE: Importing function 'Get-IDTenantConfiguration'.
VERBOSE: Importing function 'Get-IDUser'.
VERBOSE: Importing function 'Get-IDUserIdentifier'.
VERBOSE: Importing function 'Get-IDUserRole'.
VERBOSE: Importing function 'Invoke-IDSqlcmd'.
VERBOSE: Importing function 'Lock-IDUser'.
VERBOSE: Importing function 'New-IDPlatformToken'.
VERBOSE: Importing function 'New-IDSession'.
VERBOSE: Importing function 'Suspend-IDUserMFA'.
VERBOSE: Importing function 'Test-IDUserCloudLock'.
VERBOSE: Importing function 'Unlock-IDUser'.
VERBOSE: GET https://ncjob.cyberark.cloud/PasswordVault/WebServices/PIMServices.svc/Server with 0-byte payload
VERBOSE: received 14013-byte response of content type text/html
**Select-Object : Property "ExternalVersion" cannot be found.**
At line:808 char:9
+ ...                         Select-Object -ExpandProperty ExternalVersion
+                             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (<!DOCTYPE html>...
</body></html>:PSObject) [Select-Object], PSArgumentException
    + FullyQualifiedErrorId : ExpandPropertyNotFound,Microsoft.PowerShell.Commands.SelectObjectCommand
 
PS H:\> New-PASSession -IdentityTenantURL https://abc123.my.idaptive.app -PrivilegeCloudURL https://ncjob.cyberark.cloud -Credential $psCredentials -IdentityUser -Verbose **-SkipVersionCheck**
VERBOSE: Performing the operation "Logon" on target "https://abc123.my.idaptive.app".


PS H:\> Get-PASSafe -Verbose
VERBOSE: GET https://ncjob.cyberark.cloud/PasswordVault/API/Safes with 0-byte payload
VERBOSE: received 14013-byte response of content type text/html

PS H:\> Get-PASSession -Verbose
 
Name                           Value
----                           -----
BaseURI                        https://ncjob.cyberark.cloud/PasswordVault
ApiURI                         https://ncjob.cyberark.cloud
User                           pamopsapi_admin@cyberark.cloud.12345
ExternalVersion                0.0
WebSession                     Microsoft.PowerShell.Commands.WebRequestSession
StartTime                      5/23/2025 12:22:41 PM
ElapsedTime                    00:00:33
LastCommand                    System.Management.Automation.InvocationInfo
LastCommandTime                5/23/2025 12:23:03 PM
LastCommandResults             <!DOCTYPE html><html lang="en"><head>...
LastError
LastErrorTime

Your Environment

  • PowerShell Version:
  • psPAS Version: 6.4.85
  • CyberArk Version: 14.5 (ISPSS Tenant)
  • Identity Version: 25.4.205

Additional context
Add any other context about the problem here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions