I don't have an option to "Publish online" under "File". Has it moved?
Version of InDesign?
Go to the Creative Cloud desktop app (on the menu bar on Mac or task bar in Windows). Click the "gear" icon > Preferences > General > Sign Out. Then Sign In with your Adobe ID.
Retrieving data ...