Public/get-AllegisIDNIdentityAttribute.ps1

function get-AllegisIDNIdentityAttribute ($orgName, $accessToken){
    $header=get-AllegisIDNprivateHeader $accessToken
    $privateuribase="https://$orgname.identitynow.com"
    $url="$privateuribase/cc/api/identityAttribute/list"
    $response=Invoke-WebRequest -Uri $url -Method get -UseBasicParsing -Headers $header
    $sourceIdentityProfile=$response.Content | ConvertFrom-Json
    return $sourceIdentityProfile
}