
A US home services company migrating its Talend jobs to Maia hit two blockers, and neither was about pipelines. Amazon Managed Streaming for Apache Kafka (Amazon MSK) offers only SCRAM-SHA-512 for username and password access, which Maia's Kafka connector didn't support. Their security team would approve mailbox access only through an Entra app they own, limited to two shared mailboxes. Both gaps were closed within 6 days of approval.
Blocker 1: Kafka on Amazon MSK with SCRAM-SHA-512
On Amazon MSK, username and password access means SASL/SCRAM, with the credentials held in AWS Secrets Manager. Maia's Kafka connector sent SASL PLAIN for every username and password connection, so it couldn't sign in.
The Kafka component now has a SASL mechanism property with PLAIN, SCRAM-SHA-256, and SCRAM-SHA-512. PLAIN stays the default, so existing connections behave exactly as before. To connect to MSK:
- Set Authentication Type to Username & Password.
- Set SASL mechanism to SCRAM-SHA-512.
- Set Encryption to TLS, so the connection uses
SASL_SSL. MSK requires TLS for SASL/SCRAM, on port 9096 inside AWS or 9196 with public access. - Enter the SCRAM username and password stored in the cluster's MSK secret.
Along the way we fixed how passwords with quotes or backslashes are passed to Kafka, for every mechanism. MSK's IAM authentication was out of scope and isn't supported.
Blocker 2: Exchange through an app the customer owns
The pipelines read attachments from two shared mailboxes. The security team's conditions were specific:
- Application permission
Mail.Readonly, with no send, write, calendar, or contacts access. - Access limited to the two mailboxes, because unscoped
Mail.Readcan read every mailbox in the tenant. - A single-tenant app they register and own, with no tenant-wide consent for a vendor's app.
- Certificate authentication if possible; otherwise a client secret in their own AWS Secrets Manager, expiring in 6 months or less.
- Tokens requested by the runner inside their network, with no credential held by the vendor.
The Microsoft Exchange component and the Exchange source in Data Transfer now accept OAuth 2.0 Client Credentials with your own Entra app registration: app-only, no user sign-in, and a Mailbox property to say which mailbox to read. The Exchange component finds the messages and their attachment IDs, and Data Transfer downloads the attachments. To set it up:
- Register a single-tenant app in Microsoft Entra ID, but don't grant tenant-wide
Mail.Readconsent there. - In Exchange Online, create a service principal for the app and assign it the Application Mail.Read role with a management scope that covers only the mailboxes it needs (RBAC for Applications).
- Store the client secret in your runner's secret manager.
- In Maia, create the connection with the Client ID, Client Secret, and Access Token URL (your tenant's token endpoint, which must be a Microsoft identity host).
- Set Mailbox on the component, for example
user@example.com. - Allow outbound traffic from the runner to
login.microsoftonline.comandgraph.microsoft.com.
With only the Mail.Read application permission, Test Connection fails, so check the connection by running the component. Event attachments aren't available with Mail.Read alone. Data Transfer also has an OAuth 2.0 Authorization Code (Bring Your Own App) type, for access tied to a signed-in user's mailbox. Certificate-based client authentication isn't supported, so use a client secret and rotate it.
What it took
Both asks were approved on 27 October, and the code for both was merged by 2 November. They reached customers in the next runner release, so a runner hosted in your own network needs updating to it. The Exchange scope changed on day one: we started with delegated access, then the security team's conditions arrived and only app-only access met them. We added app-only and kept delegated for the next customer who wants it.
Where else this applies
More security teams now ask for the same three things: an app registration they own, the narrowest permission that works, and secrets in their own vault. If a migration stalls on a vendor-owned app or a missing auth mechanism, it can be days of work rather than a reason to keep the old tool. The OData component offers the same client credentials option.
Frequently Asked Questions
Yes. With Username & Password, set SASL mechanism to SCRAM-SHA-256 or SCRAM-SHA-512. PLAIN is the default.
Yes, with SASL/SCRAM-SHA-512 over TLS. MSK IAM authentication isn't supported.
Yes. Use OAuth 2.0 Client Credentials with your own Entra app and set the Mailbox property.
Use Exchange RBAC for Applications with a management scope, and don't grant tenant-wide Mail.Read consent in Entra.
Our latest resources
Data management



