Follow the below given steps to create an app password in Yahoo Mail
- Sign in to your Yahoo Mail account.
- Click on your profile name/icon in the top-right corner to open the account menu.
- Select Account Info from the dropdown menu. You may need to enter your password again for security purposes.
- In the Account Info page, click on Account Security from the left-hand menu.
- Scroll down to the App Passwords section and click on it.
- If prompted, enter your Yahoo Mail password again.
- Click on the Generate App Password button.
- Select the app you want to generate a password for from the dropdown menu. If the app is not listed, choose Other App and enter the app name.
- Click on Generate to create the app password.
- Copy the generated app password and use it in the application where you want to access your Yahoo Mail account.