Skip to main content

Machineidentityv2

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]
DescriptionStringDescription of the machine identity.[optional]
Attributesmap[string]AnyTypeA map of custom machine identity attributes.[optional]
ConnectorAttributesmap[string]AnyTypeA map of attributes sourced from the connector during aggregation.[optional]
ManuallyEditedBooleanIndicates if the machine identity has been manually edited.[optional] [default to $false]
ManuallyCreatedBooleanIndicates if the machine identity has been manually created.[optional] [default to $false]
OwnersMachineIdentityOwnersV2[optional]
SubtypeStringThe subtype value associated to the machine identity.[optional]
SourceIdStringThe source id associated to the machine identity.[optional]
UuidStringThe UUID associated to the machine identity directly aggregated from a source.[optional]
NativeIdentityStringThe native identity associated to the machine identity directly aggregated from a source.[optional]
DatasetIdStringThe dataset id associated to the source from which the identity was retrieved.[optional]
EnvironmentStringThe environment the machine identity belongs to.[optional]
ExistsOnSourceStringIndicates whether the machine identity still exists on the source.[optional]
StatusStringOperational status read from stored attributes.status; null when absent.[optional]
ResourceResourceV2[optional]
SourceMachineIdentityV2Source[optional]
UserEntitlements[]UserEntitlementV2The user entitlements associated to the machine identity.[optional]
BusinessApplicationRefs[]BusinessApplicationRefOptional Business Application references associated with this machine identity. Available when Business Applications is enabled for the tenant. On create and patch, at most one reference is allowed and is persisted as a MANUAL correlation. When Business Applications is not enabled, this field is null on responses and is rejected (400) if supplied on write.[optional]
EffectiveSanctionedStatusSanctionedStatusDerived sanctioned status from linked Business Applications; UNKNOWN when no refs are present. Available when Business Applications is enabled for the tenant; null when it is not enabled. Read-only on create and patch input.[optional] [readonly]
RiskMachineIdentityV2Risk[optional]

Examples

  • Prepare the resource
$Machineidentityv2 = Initialize-Machineidentityv2  -Id id12345 `
-Name aName `
-Created 2015-05-28T14:07:17Z `
-Modified 2015-05-28T14:07:17Z `
-Description Service account for nightly batch jobs `
-Attributes {"privilegeLevel":"HIGH","region":"APAC"} `
-ConnectorAttributes {"objectguid":"abc-123"} `
-ManuallyEdited true `
-ManuallyCreated true `
-Owners null `
-Subtype AI_AGENT `
-SourceId 6d28b7c1-620c-49c6-b6d5-cbf81eb4b5fa `
-Uuid f5dd23fe-3414-42b7-bb1c-869400ad7a10 `
-NativeIdentity abc:123:dddd `
-DatasetId 8886e5e3-63d0-462f-a195-d98da885b8dc `
-Environment PRODUCTION `
-ExistsOnSource TRUE `
-Status ACTIVE `
-Resource null `
-Source null `
-UserEntitlements null `
-BusinessApplicationRefs null `
-EffectiveSanctionedStatus null `
-Risk null
  • Convert the resource to JSON
$Machineidentityv2 | ConvertTo-JSON

[Back to top]