Deprecation ETA on SAS Authentication for Azure Event Hub

Ivan Tioh 116 Reputation points
2024-10-10T01:55:23.4233333+00:00

Hi,

I have come across these 2 pages encouraging the move to Microsoft Entra ID for authentication to Azure Event Hub, deprecating SAS:

  1. Receive change notifications through Azure Event Hubs
  2. Authenticate access to Event Hubs resources using shared access signatures (SAS)

I have multiple services currently accessing Azure Event Hubs via SAS, hence would like to know if there is a timeline for SAS deprecation so that I could plan out and prepare for it?

Thank you!

Azure Event Hubs
Azure Event Hubs
An Azure real-time data ingestion service.
652 questions
{count} votes

Accepted answer
  1. PRADEEPCHEEKATLA 90,241 Reputation points
    2024-10-11T03:54:23.5933333+00:00

    @Ivan Tioh - Thanks for the question and using MS Q&A platform.

    Here is the response from internal team:

    The deprecation applies to the specific scenario: "Receiving change notifications through Event Hubs", but I am not sure. This one is part of the Microsoft Graph API documentation. 

    Receive change notifications through Azure Event Hubs

    Note in the first article:

    Authenticating Event Hubs by using shared access signatures (SAS) will be deprecated in the future. We recommend authenticating Event Hubs by using Microsoft Entra ID role-based access control (RBAC) instead. 

    In the Azure Event Hubs article, we don't say that the SAS access will be deprecated. 

    Authenticate access to Event Hubs resources using shared access signatures (SAS)

    Note in the second article

    We recommend that you use Microsoft Entra credentials when possible as a security best practice, rather than using the shared access signatures, which can be more easily compromised. While you can continue to use shared access signatures (SAS) to grant fine-grained access to your Event Hubs resources, Microsoft Entra ID offers similar capabilities without the need to manage SAS tokens or worry about revoking a compromised SAS.

    For more information about Microsoft Entra integration in Azure Event Hubs, see Authorize access to Event Hubs using Microsoft Entra ID.

    Hope this helps. Do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.