How can I prevent being prompted to enter my forgotten AppleID & password when trying to install app?

How can I prevent being prompted to enter my forgotten AppleID & password when trying to install app

I have forgot my apple ID password and the email password also which was used to verify apple ID, now i have created the new apple ID and registered it on iphone , it was verified successfully, but when i tried to download any app from app store it prompts for password with old apple ID, can somebody help, how to delete old one and use one, so that everytime it asks for password with new apple ID

Thanks in advance
re: How can I prevent being prompted to enter my forgotten AppleID & password when trying to install apps

There is nothing that we can do for you regarding this matter except to advise you to contact Apple's account support. Alternatively, you can restore your device, however, if the iCloud Activation lock is enabled and you do not have the necessary iCloud credentials, there's nothing anyone can do to help you.
Re: How can I prevent being prompted to enter my forgotten AppleID & password when trying to install

Why do I get a very strange feeling every time I see one of these threads pop up?

Forgot your AppleID password? Maybe.

Forgot your email password? Perhaps.

Forget BOTH passwords at the exact time you want to access your Apple account? Mmmm, NO, not buying that one.

Original thread: https://forums.imore.com/threads/how-can-i-prevent-being-prompted-to-enter-my-forgotten-appleid-password-when-trying-to-install-app.331691/