Entra with M-files desktop

I have recently setup Entra SSO integration with M-files using Federated Authentication and it all works fine with M-files web. However i can't log get it to work with M-files Desktop, it ask's me to input windows username and password, which i can't get to validate with my O365 account. Shouldn't this login re-direct to the Microsoft login page?