A black MS-Dos screen will appear for a few seconds.If the Windows permission box appears, click 'Yes' or 'Run'.
Close the Microsoft Store app if you have it open.You can use the steps below to refresh the Store which will clear the cache and refresh your library and permissions. If you're having trouble downloading Sea of Thieves from the Windows Store, there are a few things you can try: Reset the Microsoft Store