Microsoft Office 365 activity

Trying to send email using Microsoft Office 365 Activity is throwing up an error,

Error message : AADSTS700016: Application with identifier ‘10037FFE845E799C’ was not found in the directory ‘de08c407-19b9-427d-9fe8-edf254300ca7’. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.