Skip to main content

MachineIdentityBulkUpdateRequest

Properties​

NameTypeDescriptionNotes
Ids[]StringIDs of the machine identities to update. Provide between 1 and 100 IDs.[required]
JsonPatch[]JsonPatchOperationJSON Patch operations applied to every machine identity in ids. Only these paths can be patched: /description, /userEntitlements, /owners, /owners/primary, and /owners/secondary.[required]

Examples​

  • Prepare the resource
$MachineIdentityBulkUpdateRequest = Initialize-MachineIdentityBulkUpdateRequest -Ids ["ef38f94347e94562b5bb8424a56397d8","2c9180858082150f0180893dbaf44201"] `
-JsonPatch [{"op":"replace","path":"/description","value":"Agent used by the finance team"}]
  • Convert the resource to JSON
$MachineIdentityBulkUpdateRequest | ConvertTo-JSON

[Back to top]