To configure the custom Outgoing mail service with Microsoft OAuth in Yeeflow, you need to create a Microsoft Azure App and configure the necessary API permissions.
This article will guide you through the process of creating an Azure App, adding the required API permission, and generating a client secret. The information obtained during this process will be used in the next article to configure the Microsoft OAuth type Outgoing mail service configuration.
Step 1: Creating an Azure App:
Sign in to the Microsoft Entra admin center with an account permitted to register applications in the intended directory. Open Microsoft Entra ID, formerly Azure Active Directory.
In Microsoft Entra ID, select App registrations and then New registration.
The focused illustrations in this guide show controls from earlier help center screenshots.
Provide a meaningful name for your app, and choose the appropriate account type (single-tenant or multi-tenant) based on your requirements. In the Redirect URI section, leave it empty.
Click on the "Register" button to create the app.
Take note of:
The Application (client) ID and
Directory (tenant) ID,
Use both IDs from this same application registration when configuring the outgoing email service in Yeeflow.
Step 2: Configuring API Permissions:
In the app's Overview page, select "API permissions" from the left-hand menu. Then, under the Configured permissions page, click on the "Add a permission" button.
In the Request API permissions fly-out, click to select Microsoft Graph API.
When asked to choose the type of permission required by the application, click on Application permissions.
Microsoft’s Mail.Send permission reference describes application access as sending mail without a signed-in user. The permission can allow sending as users across the organization. Have the Microsoft 365 and Exchange administrators approve the intended sender mailbox and review the application’s effective mailbox access before granting consent.
In the search box, type in Mail.Send to search for it. In the result, click to check the Mail.Send permission. Lastly, click on Add permissions.
Before consent, the permission may show Not granted for <organization name>. Have an administrator authorized to grant Microsoft Graph application permissions review the request and select Grant admin consent for <organization>. Microsoft’s admin consent guidance lists the required roles. If the action is unavailable, ask the authorized administrator to complete it.
Return to the permission list and confirm that Mail.Send has type Application and the intended organization shows Granted. Adding a permission alone does not complete administrator consent.
Step 3: Creating a Client Secret:
In the app's Overview page, select "Certificates & secrets" from the left-hand menu. Under the "Client secrets" section, click on the "New client secret" button.
Enter a description for the secret, choose an expiration period approved by your organization, and click Add.
Copy and securely store the generated client secret Value, rather than its Secret ID, for the Yeeflow connection. Microsoft displays this value only when it is created. Follow the current application registration guidance and your organization’s credential handling requirements.
Record the secret’s expiration date and arrange replacement before it expires. When a credential is replaced, update the associated Yeeflow mail connection and verify a test message and a representative workflow notification before regular use.
By following the steps outlined in this article, you can create an Azure App, configure the required API permissions by adding the "Mail.Send" permission, and generate a client secret. These steps prepare you for the next article, where you will use the Application (client) ID, Directory (tenant) ID, and the value of the generated client secret to configure the Microsoft OAuth type Outgoing mail service configuration in Yeeflow.



