Thank you for asking this question on the Microsoft Q&A Platform.
I understand that you
How to create a new app password
To create a new app password for an app or device, take the following steps. You can repeat these steps to create an app password for as many apps or devices as you need. Go to the Security basics page and sign in to your Microsoft account. Select More security options. Under App passwords, select Create a new app password. A new app password is generated and appears on your screen. Enter this app password where you would enter your normal Microsoft account password in the application.
Hope this helps!
Accept Answer and Upvote, if any of the above helped, this thread can help others in the community looking for remediation for similar issues.
NOTE: To answer you as quickly as possible, please mention me in your reply.