Processes in Microsoft 365 for setting up Office apps, redeeming product keys, and activating licenses.
Hello Pawel,
I understand you want to remove a device that was previously setup for your account MFA. In order to do that, you should log in with another admin account, go to the account's Authentication methods, then remove the device from the list.
Alternatively, reset MFA for the affected account, so no device is able to complete MFA for the account, then setup MFA using your preferred device(s). Please note that is it recommended to have at least two authentication methods per account.
https://support.microsoft.com/en-us/account-billing/register-the-password-reset-verification-method-for-a-work-or-school-account-47a55d4a-05b0-4f67-9a63-f39a43dbe20a#:~:text=If%20multiple%20options%20are%20available,one%20of%20your%20methods%20becomes https://learn.microsoft.com/en-us/entra/identity/authentication/concept-authentication-methods
I hope this helps.
Thanks.