After creating Event Hub Namespace and Event Hub, I have done the below settings.
Enabled Firewall security so that all networks are having access
Regenerated SAS keys for the Event Hub namespace itself
Copied the SAS key of the Event Hub namespace and did a http post request as mentioned in https://docs.microsoft.com/en-us/rest/api/eventhub/send-event
But the post requests are failing with 401 error.
Could you please guide?