Hello Marcus Pimentel
Welcome to the Microsoft Q&A forum.
It seems like you're encountering an authorization issue when trying to send events to Event Hubs using tenant_id, client_id, and secret_id. This error typically indicates that the Azure Active Directory application you're using doesn't have the correct permissions to send messages to the Event Hub.
Please make sure that the AAD application has the 'Event Hubs Data Sender' role assigned to it.
This should resovle the issue. I hope this helps.