How to remove a device from your Microsoft account or Office 365 account

There are several ways to delete a device in Microsoft 365, Microsoft Azure or in your Microsoft consumer account. In this article you can see different scenarios that will help you to delete your device.
How do I deactivate devices connected to Office 365?
You use this option to release your Office 365 Apps if you have more than 5 licences in use.
Go to https://portal.office.com and select other installation options.

Select apps & devices.

Press devices, then sign-out.

How do I delete a device with a Microsoft Personal Account?
If you want to remove a device from your Microsoft account or Office 365 account, you should use this option to remove devices that have access to your personal data.
Go to account.microsoft.com/devices, log in and find the device you want to delete. Press delete device at the bottom.

Delete a device from Microsoft Endpoint manager
Deleting a device is done to block access immediately. It is safer to do a remote reset.
Go to https://endpoint.microsoft.com/ and follow the procedure below.
Deleting a device in Azure Active Directory (Azure AD)
Go to https://portal.azure.com /#home and select Azure AD.
Also read
How to reset a Windows 10 or 11 device in Windows Autopilot?
Saving passwords, favourites and settings in Microsoft Edge
How to use the latest version of Apple Passwords in iCloud for Windows?
How to activate DKIM in Microsoft Office 365?
How to export the list of devices (for each account) at powershell ?
attention: je ne m'intéresse pas aux devices inscrite par inTune
Thank you.