@Ahmed Sh, Thanks for posting in Q&A. For the affected device group, is it a dynamic group? If this is a dynamic group, it will automatically add the device into the group based on an expression you create.
https://learn.microsoft.com/en-us/entra/identity/users/groups-dynamic-membership
Meanwhile, please also check if any admin using graph API to add the device into the affected group.
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.