Thanks for reaching out to Microsoft Q&A.
Currently, Azure Event Hub management endpoints primarily return responses in XML format, even when you specify an Accept: application/json
header. Unfortunately, as of now, JSON responses are not supported for these management endpoints.
While there hasn’t been an official announcement regarding future support for JSON responses, many users have expressed a preference for JSON due to its compatibility with modern applications. It’s worth keeping an eye on the Azure updates or the official documentation for any changes in this regard.
In the meantime, if you need to work with XML, you might consider using libraries that can help parse XML into JSON format programmatically, which could streamline your workflow.
Hope this helps. Do let us know if you any further queries.
If this answers your query, do click Accept Answer
and Yes
for was this answer helpful. And, if you have any further query do let us know.