Hi ,
Well, if I'm not mistaken, the error with a dynamic disk would require recreating the drive as a basic drive with the unallocated space. However, I recommend trying to extend it using MiniTool Partition Wizard (free).
See if it gives the error when extending.
Be careful, select the "extend" option and not "recreate," otherwise it will format the D: drive.
If you only have games on that drive, I recommend recreating the entire partition using diskpart.
However, you would have to back up your important files.
Give feedback if the information was useful or not.
Thanks