CmdID / az / az image / az image builder / az image builder identity
az image builder identity assign
Add managed identities to an existing image builder template. Azure CLI reference
1 option Its page in the Azure CLI reference
Options
--user-assignedSpecify one user assigned identity (name or ID, space delimited) of the image template.