Table of contents
Book a Maia Demo
Enjoy the freedom to do more with Maia on your side.
Dark green abstract background with subtle gradient shapes and rounded corners.

Two authentication gaps blocked a Talend migration. Both were closed in 6 days.

November 26, 2026
Field Note
4 mins
6 days
to close two auth gaps in a Talend migration
Summarise with AI

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:

  1. Set Authentication Type to Username & Password.
  2. Set SASL mechanism to SCRAM-SHA-512.
  3. 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.
  4. 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.Read only, with no send, write, calendar, or contacts access.
  • Access limited to the two mailboxes, because unscoped Mail.Read can 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:

  1. Register a single-tenant app in Microsoft Entra ID, but don't grant tenant-wide Mail.Read consent there.
  2. 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).
  3. Store the client secret in your runner's secret manager.
  4. 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).
  5. Set Mailbox on the component, for example user@example.com.
  6. Allow outbound traffic from the runner to login.microsoftonline.com and graph.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

Does Maia's Kafka connector support SCRAM-SHA-512?

Yes. With Username & Password, set SASL mechanism to SCRAM-SHA-256 or SCRAM-SHA-512. PLAIN is the default.

Can Maia connect to Amazon MSK?

Yes, with SASL/SCRAM-SHA-512 over TLS. MSK IAM authentication isn't supported.

Can Maia read a shared mailbox without a signed-in user?

Yes. Use OAuth 2.0 Client Credentials with your own Entra app and set the Mailbox property.

How do I stop an app with Mail.Read reading every mailbox?

Use Exchange RBAC for Applications with a management scope, and don't grant tenant-wide Mail.Read consent in Entra.

Last updated
November 26, 2026
Ben Bajek
Principal Forward Deployed Engineer, Matillion

Data management
made effortless

Enjoy the freedom to do more with Maia on your side.
Abstract dark teal geometric shapes background with diagonal lines and subtle gradients.