@J-3804, Thanks for posting in Q&A. To delete device in Intune, we can delete it in Intune admin center or delete devices with cleanup rules. Here is a link with more details.
For the duplicate device records in Defender for Endpoint, there's no option to remove devices directly.
You can set data retention configuration for Endpoint to let it auto delete after a period of time inactive. Meanwhile, you can configure tag for these duplicate device records to exclude from threat reports or threat and vulnerability management. Here is a link with more details.,
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.