@Sergirash rash baix, Thanks for posting in Q&A. For conditional access, it controls if the user can access resource when they sign in. Under assignment, we can only assign it user or user group. We can't assign it to device group.
When the user sign in request is sent, it finds the devices needs to be compliant. It will check the compliance status of the device. If it is not compliant, it will block the access. If the device is not enrolled, it will ask to download company portal to do the enrollment.
Hope the above information can help.
If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.