I’ve posted this a couple a times today since I was having similar issues and also was losing HDD space as has been noted else where in other threads since game launch with attempts to uninstall/reinstall game when it was not launching anymore on the following day.
I did not use powershell or anything myself to fix/workaround the problem I had (which I think has been described by others regarding
I myself was able to install/run the game twice without issue after it came out on the MS store on 5/27, but trying to run the game again after turning off the computer once lead to nothing happening I only did the permission assigning stuff manually in windows to remove the old 120GB+ of game date.
Last night I had noticed my desktop/Windows system was still logged into my main microsoft account and thought that was related to the specific issues I had...so I logged out from my MS account in the system settings/account page in Windows 10 and just behaved like a local user again. I downloaded PSO2 new again yesterday night, launched and played for a few hours, turned off my computer afterwards. Today after rebooting my computer I can launch PSO2 without any issues (and connect/play), which the only thing I have changed myself was not being logged into my microsoft account through Windows anymore (I did login to the Xboxlive service once the game was running for my characters and such, but that of course did not affect my computer still behaving as a local user in Windows). Hopefully that is a little clearer.