Apps assigned to devices in a group will be installed on the devices. When you move a device to a different group, apps on the device that are not assigned to that group will be removed from the device.