Hi @Diogo Costa Maranhao Rodrigues ,
Thanks for your question.
There is no direct API that lets a LocalSystem service download a user-specific flight bundle on its own. The Store flight bundle is tied to the signed-in user’s Microsoft account, so StoreContext only works from code that runs in a real user session.
I recommend this solution:
- Keep your service running as LocalSystem for background processing.
- When an update is needed, have the service trigger a helper process running in the logged-in user’s context.
- The helper process can then use StoreContext or AppInstallManager to:
- Check for updates.
- Request download and installation via the Microsoft Store.
This ensures the operation runs with the correct user identity and remains within the supported platform model.
I hope this addresses your question. If this response was helpful, please consider following the guidance to provide feedback