@testuser7 , From your description, it seems you want to enroll the device using device credential. If there's any misunderstanding, feel free to let us know.
Based as I know, the Device Credential is only supported for Microsoft Intune enrollment in scenarios with Co-management or Azure Virtual Desktop. If we are not in the two scenarios, we can only use User Credential to do the enrollment..
Hope it 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.