Machineaccount
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| Id | String | System-generated unique ID of the Object | [optional] [readonly] |
| Name | String | Name of the Object | [required] |
| Created | System.DateTime | Creation date of the Object | [optional] [readonly] |
| Modified | System.DateTime | Last modification date of the Object | [optional] [readonly] |
| Description | String | A description of the machine account | [optional] |
| NativeIdentity | String | The unique ID of the machine account generated by the source system | [required] |
| Uuid | String | The unique ID of the account as determined by the account schema | [optional] |
| ClassificationMethod | Enum [ "SOURCE", "CRITERIA", "DISCOVERY", "MANUAL" ] | Classification Method | [required] |
| MachineIdentity | [AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4 | The machine identity this account is associated with | [optional] |
| OwnerIdentity | [AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4 | The identity who owns this account. | [optional] |
| AccessType | String | The connection type of the source this account is from | [optional] |
| Subtype | String | The sub-type | [optional] |
| Environment | String | Environment | [optional] |
| Attributes | [map[string]AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4 | Custom attributes specific to the machine account | [optional] |
| ConnectorAttributes | [map[string]AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4 | The connector attributes for the account | [required] |
| ManuallyCorrelated | Boolean | Indicates if the account has been manually correlated to an identity | [optional] [default to $false] |
| ManuallyEdited | Boolean | Indicates if the account has been manually edited | [required][default to $false] |
| Locked | Boolean | Indicates if the account is currently locked | [required] |
| Enabled | Boolean | Indicates if the account is enabled | [required][default to $false] |
| HasEntitlements | Boolean | Indicates if the account has entitlements | [required][default to $true] |
| Source | [AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4 | The source this machine account belongs to. | [required] |
Examples
- Prepare the resource
$Machineaccount = Initialize-Machineaccount -Id id12345 `
-Name aName `
-Created 2015-05-28T14:07:17Z `
-Modified 2015-05-28T14:07:17Z `
-Description Service account for Active Directory `
-NativeIdentity 552775 `
-Uuid {b0dce506-d6d4-44d2-8a32-d9a5b21fb175} `
-ClassificationMethod SOURCE `
-MachineIdentity {"id":"1540e5a4-6c2e-4bf1-b88e-c08cae0696e9","type":"MACHINE_IDENTITY","name":"SVC_ADService"} `
-OwnerIdentity {"id":"2c918084660f45d6016617daa9210584","type":"IDENTITY","name":"Adam Kennedy"} `
-AccessType direct `
-Subtype null `
-Environment TEST `
-Attributes {"firstName":"SailPoint","lastName":"Support","displayName":"SailPoint Support"} `
-ConnectorAttributes {"mail":"machine-178@sailpoint.com","givenName":"Support","displayName":"SailPoint Support"} `
-ManuallyCorrelated true `
-ManuallyEdited true `
-Locked false `
-Enabled false `
-HasEntitlements false `
-Source {"id":"8d3e0094e99445de98eef6c75e25jc04","type":"SOURCE","name":"Active Directory"}
- Convert the resource to JSON
$Machineaccount | ConvertTo-JSON