Hello,
We're developing an app that is accessing the BC API using an AzureAD registered app. We're successfully sending POST and PATCH requests to Business Central, but we're working on exception handling and trying to - as a first step - get the app to trigger an email send.
We've written a Codeunit that is triggered when our app changes a field in one of the tables. The Codeunit runs successfully, reads the data from our staging table and moves it into the final data table. We've added a catch on the final Insert() operation so that if it fails it runs our EmailNotify procedure, which is defined in the same codeunit.
We've debugged this and it runs. It's not sending the email, though as it's trying the send as our app.

What I want to know is do we need to assign the app permissions at the AzureAD side of things, and if that's the case what permissions are required? If it's an issue at the Business Central side of things, what permissions do we need to assign our AzureAD application to allow it to send the email?
I'm absolutely certain that other devs will have apps that do this, and I've got the email sending working in one of our other extensions. The only difference is this is coming from an AzureAD registered app, even though the app itself isn't doing the sending, it's just triggering the codeunit.
Any help would be appreciated. We're stumbling around in the dark on this.