I can select the directory but then I can't find a single file on D. When I try to find the path using the shortcut, I don't get where the installation files should be.
If you mean PC: the games are mainly installed in the directory C: \ Program Files \ WindowsApps \. However, the folder is invisible, so you have to enter "\ windowsapps" in the program folder and then press the enter key. If you have the installations of MS Store programs saved on other data carriers like D:, E:, or F:, enter one of the other letters instead. It is best to look under the settings to see where you installed the games if you are not sure.
It may well be that you are denied access to the "WindowsApps" folder. If that's the case and you don't know how to get access to it, I'll be happy to help you. You just need to answer under the comments.
I managed to do everything well with the owner myself.