Skip to main content

Machineaccount

Properties

NameTypeDescriptionNotes
IdStringSystem-generated unique ID of the Object[optional] [readonly]
NameStringName of the Object[required]
CreatedSystem.DateTimeCreation date of the Object[optional] [readonly]
ModifiedSystem.DateTimeLast modification date of the Object[optional] [readonly]
DescriptionStringA description of the machine account[optional]
NativeIdentityStringThe unique ID of the machine account generated by the source system[required]
UuidStringThe unique ID of the account as determined by the account schema[optional]
ClassificationMethodEnum [ "SOURCE", "CRITERIA", "DISCOVERY", "MANUAL" ]Classification Method[required]
MachineIdentity[AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4The 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.4The identity who owns this account.[optional]
AccessTypeStringThe connection type of the source this account is from[optional]
SubtypeStringThe sub-type[optional]
EnvironmentStringEnvironment[optional]
Attributes[map[string]AnyType]https://learn.microsoft.com/en-us/powershell/scripting/lang-spec/chapter-04?view=powershell-7.4Custom 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.4The connector attributes for the account[required]
ManuallyCorrelatedBooleanIndicates if the account has been manually correlated to an identity[optional] [default to $false]
ManuallyEditedBooleanIndicates if the account has been manually edited[required][default to $false]
LockedBooleanIndicates if the account is currently locked[required]
EnabledBooleanIndicates if the account is enabled[required][default to $false]
HasEntitlementsBooleanIndicates 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.4The 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

[Back to top]