Thank you for reaching out to the Microsoft Q&A platform.
Based on your question description we understand that you want to disable the device in Azure.
To perform the device disable you must have the necessary permissions.
If you want to disable the device in Azure, Search for the Microsoft Entra ID
Select the Devices and click on All Devices from the left side blade.
select the checkmark next to the device > Disable in the Azure portal.
Please find the attached document for more information: https://learn.microsoft.com/en-us/entra/identity/devices/faq
If it was helpful, please click "Upvote" on his post to let us know.
Thank You.