Question, what is the ‘trusted microsoft services’, it seems the azure function with msi are not one of them?
This is the trusted services of azure event hub:
Azure function is not in the list of the trusted services of azure event hub.
This is the offcial doc:
I can get check the message of the event hub with no problem on my side.
You can try below steps:
1, add function as the OWNER RBAC of your event hub based on MSI:
2, Create a virtual network on azure, then put the azure function app to the network:
After that, add the network to the firewall setting:
Or you can add the outbound ip of your function app to the whitelist of your eventhub.(If you can’t find the specific outbound ip, just use my method above. Similar problems can be solved by these two methods.)
CLICK HERE to find out more related problems solutions.