The solution is the following :

1 ) change the access to windows locally ( instead of account microsoft ) from settings -> account
2 ) login with the local account
3 ) Open the email app and remove or recreate the account outlook
4 ) set in again the windows login with account microsoft

Now in the app Mail and Calendar everything should be back working.