An Azure event routing service designed for high availability, consistent performance, and dynamic scale.
Updating the resource property topicSpacesConfiguration with an encodedCertificate as customJwtAuthentication succeeded. But it seems that the server accepts any value for the fields encodedCertificate and kid. The EventGrid Configuration page shows the issuer, but seemingly doesn't get it that I use an encodedCertificate, since it shows an error that I haven't selected an issuer certificate.
Sadly, Custom-JWT client authentification doesn't work with an encodedCertifcate, responding Connecting with MQTT server failed (NotAuthorized).
FYI.: A user on github also received the internal server when re-enabling custom JWT authentication using an Azure KeyVault (see https://github.com/Azure/terraform-provider-azapi/issues/790).
**Please fix the error so that it's possible to select a certifcate KeyVault just like mentioned in the documentation.
UPDATE:** MQTT client authentication works now! Had to adapt the encoding and formatting of the encodedCertificate and private key used for signing the client JWT. But still ...