Hello,
Welcome to Microsoft Q&A!
Can GetAppAndOptionalStorePackageUpdatesAsync method be stuck?
Generally, the method will throw an exception if the server is down, unavailable or the server is having some unknown error. This method won't be stuck. I have to say that not all the exceptions will be listed on the document.
Thank you.
If the response is helpful, please click "Accept Answer" and upvote it.
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.