Hi Chen, Ken,
Thanks for reaching out to us on the Microsoft Q&A forum.
If your solution gets uninstalled automatically after using the pac pcf push
command, try the following:
- Use
--no-uninstall
: Run the command with the flag: pac pcf push --no-uninstall This prevents the automatic uninstall of the previous solution. - Check solution state: Ensure the solution is unmanaged. Managed solutions may get uninstalled during the push process.
- Manual import workaround: If uninstall still happens, manually re-import the solution via the Maker Portal as a temporary solution.
This should help you avoid the uninstall issue after pushing.
If you are still facing any issue, please let us know in the comments and where you are encountering this error along with the screenshot for reference. We are glad to help you.
If you found the information helpful, we would greatly appreciate it if you could acknowledge it by selecting the Accept Answer & Upvote options.