Skip to main content

MachineIdentityOwnersV2

Properties

NameTypeDescriptionNotes
PrimaryMachineIdentityOwnersV2Primary[optional]
Secondary[]BaseReferenceDtoAdditional owners. Entries are either up to ten human (IDENTITY) references or exactly one GOVERNANCE_GROUP reference - not both. Governance-group owners appear here with type GOVERNANCE_GROUP.[optional]

Examples

  • Prepare the resource
$MachineIdentityOwnersV2 = Initialize-MachineIdentityOwnersV2  -Primary null `
-Secondary [{"id":"2c9180858082150f0180893dbaf44202","name":"Jane Doe","type":"IDENTITY"}]
  • Convert the resource to JSON
$MachineIdentityOwnersV2 | ConvertTo-JSON

[Back to top]