firstly, use this api:
https://login.live.com/oauth20_authorize...&locale=en
make it get, like requests.get
find theΒ name=\"PPFT\" id=\"i0327\" value=\""
between the " " the ppft token should be there.
urlPost": ""
url should be between this.
then send a post request to urlpost
'login': "mail", 'loginfmt': "mail", 'passwd': "pass", 'PPFT': ppft
if it containsΒ
https://login.live.com/oauth20_desktop.srf? its valid.
if cookie containsΒ ANON/WLSSC/sSigninName its also valid
ifΒ itsΒ Too Many Requests its a retry.
Your account or password is incorrect = incorrect.
theres a bit more but im lazy lol.
if you do not have any coding knowleadge copy paste to chatgpt. goodluck