Note that you must follow these steps and set up the export to desktop first before attempting to set up the other possible UWP platforms.
In this article we give the required steps to get the UWP target up an running on a Windows 10 Desktop PC. As of 2022.8 you should use our GDK extension in your project and instead create a regular Windows build, as this can then be sent to the Microsoft Store just the same as you would have done with UWP. This guide covers the obsolete UWP target for Windows 10 Desktops, which was available in all versions of GameMaker prior to 2022.8, assuming you have a GameMaker Indie subscription and above.