API get list applications from my tenant

Hi,
I was using SDK in PowerShell for my tenant in SailPoint. I wanted to list all the applications created, but I couldn’t find the command to do that. However, I did come across Get-DiscoveredApplications, but it returns nothing even though I have many applications in my tenant.

Could you please let me know if you have an answer to this?

Thanks.

Hi @Hindou ! Welcome to the forum!

Looking through the list of commands I see this:

Get-CCApplications

Give that a try and let me know if that helps.

Thanks!

Hi Vincent,

Thanks for your response. I just tried it now, but I encountered an error: Get-CCApplications: The term ‘Get-CCApplications’ is not recognized as a cmdlet, function, script file, or executable program. Please check the spelling of the command, or if a path was included, verify that the path is correct and try again.

The version of the PSSailpoint module I have installed is 1.3.0.

1 Like

You’re correct, my module was outdated. I’ve updated and don’t see that command either, the only one related to applications I see is the one you posted except mine is using “Get-BetaDiscoveredApplications”. Any chance you see that in your list of commands?

Hi @vkashat,

Yes, I already tried “Get-BetaDiscoveredApplications” but it returns nothing even though I have many applications in my tenant.

Hi @Hindou,

After verification i not see the call for list application in ISC Powershell SDK may be this is because it’s a private call and will depredecated soon (GET /api/app/list).

Here a simple PowerShell script that can achieve your need :

$headers = New-Object "System.Collections.Generic.Dictionary[[String],[String]]"
$headers.Add("Authorization", "Bearer {{youraccesstoken}}")

$response = Invoke-RestMethod 'https://{{temant}}.api.identitynow.com/cc/api/app/list?filter=org' -Method 'GET' -Headers $headers
$response | ConvertTo-Json

Note : you must replace {{youraccesstoken}} by your access token and {{temant}} by your tenant name.

Hello @baoussounda,

It works. Thanks for your help !

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.