Hello,
Welcome to Microsoft Q&A!
Is there any API or configuration that we can set up so that we can trigger the app restart by clicking a button (added by us)?
Yes, there is an API that you could use. With the Fall Creators Update (1709), a new method on WebUIApplication called RequestRestart() is add. This API could programatically restart the app. Please note that you need the 16299 SDK (or later) to access this API.
Windows.UI.WebUI.WebUIApplication.requestRestartAsync("Restart")
Thank you.
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.