How do you setup AOuth2 for IMAP Integration?

i trying to setup AOuth2 password or what not to work with the IMAP since IMAP no longer works… and hotmail is disconnecting using basic authencation for IMAP
so i try to switch over… but the imap intergration doesnt seem to have aAOuth2 and i tried looking in hotmail to setup for a imap account yet it only talks about for apple android and windows…

anyone have this conversion working… since it expires in september