I had some problems with this, as well. the QB import brings over the "account balances" for G/L. This is fine for balance sheet items, but isn't accurate for income statement items. Obviously, revenues and expenses should only be booked for this year's activity, not the balance. I notified Microsoft of this glitch, but I didn't hear very much from them in return.
To solve the issue, I booked a reversing entry to eliminate the opening balances. I then manually entered an entry to re-book the trial balance, using the Retained Earnings account as my balancing account (for everything). This resulted in accurate opening entries.
I'm not sure this was really necessary, though. Just out of curiosity, I opened the QB IIF file using NotePad. It looks to me like I could have simply changed the balances on the revenue and expense accounts before I made my initial import to D365 FF, to begin with.
After I had made my initial import (of incorrect balances) to D365 FF to begin with this was basically a moot point, though.