Ensure that Event Grid domains have managed identity enabled.
Enabling managed identities eliminate the need for developers having to manage credentials by providing an identity for the Azure resource in Azure AD and using it to obtain Azure Entra ID tokens.
Modify Event Grid domains and enable managed identity.