Dear All,
I need to setup Office 365 mail with BC on premise.
Business Central 365 2022 wave 2 CU 5 (march 2023) (build application 21.5.53819, build platform 21.0.53597.53794)
Azure Active Directory embedded with Microsoft 365 on tenant. None AAD plan subscribed.
Step by step what I do.
I login to BC with my super account which has got the my email signed on the account profile.
I open “Email Application AAD Registration” to register the Email Application.
Then I open Azure portal AAD to register new app. I set new app with multitenant mode beacuse I received the //common/ error in single tenant mode and I insert the Redirect URL found on the Email Application in BC.
Email Application:

APP Registraion on AAD Portal:
Then, I created the secret and copy and paste the value with the client id application on the App registration. I run the Verify Registration, I log with my mail and the registration was all OK!
So I create the account email and all was ok.

The problemi is when I send the verification message I receive the error:
The email was not sent because of the following error: /Failed to send email. Error: Access is denied. Check credentials and try again./
I don’t understand the reason why I receive this error, because until this point all it’s ok.
Thanks in advance.