How to Remotely Wipe a Device from Intune?
Remotely Wipe Corporate Data
Sign in to the Intune in the Azure portal.
In the Devices pane, select All devices.
Select the name of the device from which you want to remove company data.
In the pane that shows the device name, select Retire. To confirm, select Yes.

Updated on: 31/01/2023
Thank you!