CmdID / az / az resource
az resource move
Move resources from one resource group to another (can be under different subscription). Azure CLI reference
3 options Its page in the Azure CLI reference
Options
--destination-groupthe destination resource group name--destination-subscription-idthe destination subscription identifier--idsthe space-separated resource ids to be moved