Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Get SailPoint IdentityNow Sources. Associated Blog Post can be found here
$RoleSourceName = "my IdentityNow Source"
$SourceList = Invoke-RestMethod -Method Get -Uri "https://$($orgName)" -WebSession $IDN
# Get SourceID for the Auth Source for Suppliers
if ($SourceList){
foreach ($source in $SourceList) {
# Which Source for Role Criteria Rules?
if ($$RoleSourceName)){
$RoleSource = $source.externalId
write-host -ForegroundColor Blue "ROLE Source:$($ SourceID:$($source.externalId)"
} else {
write-host -ForegroundColor yellow "Source:$($ SourceID:$($source.externalId)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.