Adding another voice to this thread as it is happening to us as well. We have QB installed on 2 servers both are Windows Server 2019. I tried a repair of QB using the Tools Hub and saw it reinstalled the C++ redistr as needed, but it did not help.
I can also confirm that this fix worked for us:
1. Close QuickBooks.
2. Copy D3DCompiler_47.dll from C:\Windows\System32\.
3. Paste into the QuickBooks installation folder (C:\Program Files\Intuit\Quickbooks 2024\).
4. Open QuickBooks again. The error should not be present.