NoPermissionsInAccessToken Message: The token contains no permissions, or permissions can not be understood. with ApplicationIdAndSecret authentication on O365 activities.
When authenticating with authentication type
ApplicationIdAndSecret, your Azure application shall have "Application permissions" instead of "Delegated permissions", because you are not authenticating with an user.
For more information, please review our documentation here