Hello @Srinivasulu Valleti , I got a response back from the team.
Overriding the value of x-appgw-trace-id is currently not supported, you can create a feedback item for this request on our feedback portal.
For now, you can pass the correlation-ID header to your backend pools. As you have APIM as your App Gateway's backend you can either forward the header to your backend server or use APIM policies to log information via Event Hub, you can find additional details here.
Hope this helps!
----------
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.