ImapHandler Errors: How to setup Inbound Email for office365? v7.12.5

seem to have the same problem on a new install of 7.13 , but cant figure what I’m doing wrong?

Admin>Email settings works ok - test email sent and recieved.

Admin>Outbound Email works only when i enter the password just before clicking test - otherwise an authentication error is thrown - Password is actually being saved to the database though.

Admin> External OAuth Provider seems to work and is set up as explained here… EXTERNAL OAUTH PROVIDER

Admin> External OAuth Connection also seems to work and i’m retrieving an access token and refresh token when i click authenticate.

Admin> Inbound Email
The listview does not display unless i comment out line 515 in include/ListView/ListViewData.php and when trying to setup a Personal Inbound Email Account, the OAuth connection popup is blank, however i can set it manually by typing into the input box.

However when setting the monitored folders a popup title appears and disappears instantly. I rolled back to php 7.4, and now this popup stays visible ‘Select Subscribed Folders’ but has ‘Login or Password Incorrect’

There is nowhere to enter a password on the Personal Inbound Email page, so i assume the problem is related to the same issue i have with the password on the Admin>Outbound Email settings?