O365 Send Mail does not work with version 1.14.1

Error message is:

image

Setup looks like this:

We have an app registration on Azure with App level permissions for MailSend.
Authentication - AppId and Secret.
In Send Mail activity Account is set.

When I change the O365 package to v1.11 the setup works fine.