Receive Microsoft Graph Change Notifications through Event Hubs with public access disabled

Nimmagadda, Akilesh 0 Reputation points
2026-11-17T16:43:56.4666667+00:00

Hi,

Is it possible to receive MS Change notifications if public access is disabled in event hubs? Our org doesn't allow public access in azure accounts. Is graph able to talk to azure using the MS backbone?

Thank you

Microsoft Security | Microsoft Graph
0 comments No comments

1 answer

Sort by: Most helpful
  1. Vasileios Dionysopoulos 906 Reputation points
    2026-11-27T16:54:21.66+00:00

    Hi Akilesh,

    Not directly. Graph delivers change notifications to Event Hubs over the public endpoint, not over a private link, so with public network access Disabled the delivery fails. There are two ways to stay within a "no public access" policy:

    1. Route through Event Grid (recommended)

    Point the Graph subscription at an Event Grid partner topic instead of the Event Hub: notificationUrl = EventGrid:?azuresubscriptionid=…&resourcegroup=…&partnertopic=…&location=…. Graph creates the partner topic. Then add an event subscription on that topic with your Event Hub as the handler, delivered with a managed identity. Event Grid is on the Event Hubs trusted-services list, so on the Event Hubs namespace you set:

    • Public network access: Selected networks, with no IP rules
    • Allow trusted Microsoft services to bypass this firewall: Yes
    • Grant the Event Grid identity Azure Event Hubs Data Sender on the hub

    The hub stays closed to the internet, and nothing outside Microsoft's trusted services can reach it. Check with your security team that "Selected networks + trusted services" is acceptable under your policy, since it isn't the literal "Disabled" setting.

    2. IP allowlist on the Event Hub

    Set Selected networks and allow only the Microsoft Graph notification IP ranges. It works, but Microsoft states these IPs can change without notice, so you'd have to keep the list up to date.

    Option 1 also gives you retries and dead-lettering, which direct Event Hubs delivery doesn't.

    References: Receive Graph API events through Event Grid · Graph change notifications through Event Hubs

    Was this answer helpful?


Your answer

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