My wife & I used "family sharing" for iTunes. I can't use iCloud for new phone.

She is not my wife anymore and she changed her password. I am signed in under my iCloud & I back up from my old phone and restore to my new phone. I was asked for her password but I skipped during restore. The phone is restored and working fine. PROBLEM ... window keeps popping up asking for her password. I do not use iTunes and do NOT want the music that is under her iTunes. How do I get her off my phone?
You will need to sign out from that account on iCloud on your phone. Doing that will require entering the correct password for that Apple ID.

Original thread: https://forums.imore.com/threads/my-wife-i-used-family-sharing-for-itunes-i-cant-use-icloud-for-new-phone.380531/