Skip to main content

Machineidentityentitlement

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]
AccountIdStringID of the machine account that holds the entitlement.[optional]
AccountNameStringName of the machine account that holds the entitlement.[optional]
AttributeStringName of the account attribute that contains the entitlement.[optional]
ValueStringValue of the entitlement.[optional]
DescriptionStringDescription of the entitlement.[optional]
CloudGovernedBooleanIndicates whether the entitlement is governed in the cloud.[optional] [default to $false]
SourceMachineIdentityEntitlementSource[optional]

Examples​

  • Prepare the resource
$Machineidentityentitlement = Initialize-Machineidentityentitlement -Id id12345 `
-Name aName `
-Created 2015-05-28T14:07:17Z `
-Modified 2015-05-28T14:07:17Z `
-AccountId 2c9180858082150f0180893dbaf44201 `
-AccountName svc-batch-runner `
-Attribute memberOf `
-Value CN=Finance Readers,OU=Groups,DC=example,DC=com `
-Description Read access to finance reports `
-CloudGoverned false `
-Source null
  • Convert the resource to JSON
$Machineidentityentitlement | ConvertTo-JSON

[Back to top]