A cloud-based identity and access management service for securing user authentication and resource access
Request to extend access token lifetime for service principal used in Azure EventHub authentication
We are writing to request an extension of the access token lifetime for one of our service principals.
This service principal is used for Azure EventHub Kafka protocol authentication via SASL OAUTHBEARER. During a recent production incident we identified a race condition: if a broker disconnect occurs during the token expiry window, the Kafka client reconnects with an expired token. Azure EventHub closes the connection at the TLS layer, which prevents the client from triggering its built-in token refresh, leaving our consumer group permanently stuck. Extending the token lifetime from 1 hour to 8 hours will significantly reduce the frequency of this race window.
We do not have sufficient permissions (Policy.ReadWrite.ApplicationConfiguration) in our tenant to apply a Token Lifetime Policy ourselves, and are therefore requesting that your team apply this configuration on our behalf.
Service principal details:
- Current token lifetime: 1 hour (default)
- Requested token lifetime: 8 hours (AccessTokenLifetime: 08:00:00)