Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Query SailPoint IdentityNow using the Search API. Base Setup Script. Associated Blog Post can be found here
# IdentityNow Search via API
# API Access Client ID
$clientID = 'yourClientID'
# API Access Client Secret
$clientSecret = 'yourClientSecret'
# Basic Auth
$Bytes = [System.Text.Encoding]::utf8.GetBytes("$($clientID):$($clientSecret)")
$encodedAuth =[Convert]::ToBase64String($Bytes)
# IdentityNow Organisation
$org = "yourOrgname"
# Search Limit. 1000 is the maximum
$searchLimit = '1000'
# Search Identities
$URI = "https://$($org)"
# Search Entitlements
#$URI = "https://$($org)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment