Hi,
Please be informed that task scheduler cannot directly run a app installed from microsoft store. It is a by-design behavior.
But you can check below thread where another user posted a similar question. Please refer to Pablo García Lluch's answer to see if it can give you some help.
https://answers.microsoft.com/en-us/windows/forum/all/open-an-app-from-microsoft-store-using-task/161a547f-6c1f-467d-9944-236a01e91ecf
Thanks,
Eleven
If the Answer is helpful, please click "Accept Answer" and upvote it. Thanks.