My main problem is , i dont want to use certificate based authentication... It want to use client id / secret with connect-exchangeonline.
What is working, is this :
https://www.michev.info/Blog/Post/2997/connecting-to-exchange-online-powershell-via-client-secret-flow?unapproved=7572&moderation-hash=b916afee4b2e2723cb65a0a700249803#comment-7572
With this i am able to connect with client id and secret but i only can use Get-Mailbox, and not Get-ExoMailbox ( this says i need to connect first with connect-echangeonline).
But Exchange Online Module is giving me unknown user type if i add the credentials (even if i use the appid).
I can live for the moment with Get-Mailbox, but i want to use the superiour REST based modules from Get-ExoMailbox.
I cannot use New-ExoPSSession as its not recognized as a cmdlet.