Remove company data
You can use Microsoft 365 Business to remove company data that your users have on their devices or Windows PCs that are protected by Microsoft 365. If you remove company data from a device, you cannot restore it later.
Sign in to Microsoft 365 Business with global admin credentials.
In the admin center, on the Device actions card, choose Remove company data.
On the Remove company data pane, check the checkbox next to the device you want to remove data from and then choose Select.
On the Are you sure you want to remove company data on the devices below pane, choose Confirm > Close.