Thunderbird fails to authenticate my email addresses

as title says ThunderBird fails to add emails each email just gets failed to add hotmail/outlook and even imap company emails

Screenshot from 2024-03-02 15-03-43

prob not the fix but just keep hitting this
Screenshot from 2024-03-02 15-34-27
and eventually it goes and poups microsoft login screen etc i just kept pressing the button random ammount of times until it accepts details