Skip to main content

MachineAccountCreateEntitlement

Properties​

NameTypeDescriptionNotes
IdStringEntitlement id to provision. Not required to be a UUID.[required]
CommentStringJustification stored with the entitlement request.[optional] [default to ""]
StartDateSystem.DateTimeWhen access starts. Must be in the future and before removeDate when both are set.[optional]
RemoveDateSystem.DateTimeWhen access ends. Must be in the future and after startDate when both are set.[optional]

Examples​

  • Prepare the resource
$MachineAccountCreateEntitlement = Initialize-MachineAccountCreateEntitlement -Id 858d2151-ff19-464b-ae0d-6938b3af2baf `
-Comment Needed to read the reconciliation staging tables. `
-StartDate 2026-09-01T00:00Z `
-RemoveDate 2027-03-01T00:00Z
  • Convert the resource to JSON
$MachineAccountCreateEntitlement | ConvertTo-JSON

[Back to top]