Files
developer.sailpoint.com/docs/tools/sdk/powershell/Reference/Beta/Models/FirstValid.md
2025-05-07 14:37:48 +00:00

1.5 KiB

id, title, pagination_label, sidebar_label, sidebar_class_name, keywords, slug, tags
id title pagination_label sidebar_label sidebar_class_name keywords slug tags
beta-first-valid FirstValid FirstValid FirstValid powershellsdk
powershell
PowerShell
sdk
FirstValid
BetaFirstValid
/tools/sdk/powershell/beta/models/first-valid
SDK
Software Development Kit
FirstValid
BetaFirstValid

FirstValid

Properties

Name Type Description Notes
Values [[]SystemCollectionsHashtable]https://learn.microsoft.com/en-us/dotnet/api/system.collections.hashtable?view=net-9.0 An array of attributes to evaluate for existence. [required]
IgnoreErrors Boolean a true or false value representing to move on to the next option if an error (like an Null Pointer Exception) were to occur. [optional] [default to $false]
RequiresPeriodicRefresh Boolean A value that indicates whether the transform logic should be re-evaluated every evening as part of the identity refresh process [optional] [default to $false]

Examples

  • Prepare the resource
$FirstValid = Initialize-BetaFirstValid  -Values [{attributes={sourceName=Active Directory, attributeName=sAMAccountName}, type=accountAttribute}, {attributes={sourceName=Okta, attributeName=login}, type=accountAttribute}, {attributes={sourceName=HR Source, attributeName=employeeID}, type=accountAttribute}] `
 -IgnoreErrors false `
 -RequiresPeriodicRefresh false
  • Convert the resource to JSON
$FirstValid | ConvertTo-JSON

[Back to top]