Views:

Applies to Product - Power Apps

What’s happening?
Unexpected errors occur when the app version is automatically updated to a new version, causing existing functionalities to break. Additionally, end users are not receiving the latest version of the app when deployed to production due to caching issues.
 

Reason:

  • The app version automatically shifts to the recommended version, which leads to errors such as 'TransactioncurrencyId is mandatory' when creating orders.
  • End users are not receiving the latest version because the app is not refreshing properly, and they need to perform a hard refresh to clear the cache. Furthermore, the version number displays inaccurately once it exceeds 100 versions.

 

Resolution:

  1. For this of the app version reverting to the recommended version:
    1. Open the Power Apps studio in edit mode.
    2. Change the version from the recommended version to the desired version.
    3. Save the changes and publish the app with the chosen version.
  2. If the issue persists, refer to the article on changing the authoring version for Power Apps Studio.
  3. For the issue of end users not receiving the latest version:
    1. Advise users to perform a hard refresh to clear the cache.
    2. Consider adding logic to the app to handle versioning more effectively, especially when the version count exceeds 100, as the GetAppVersions function returns 100 results at a time.
  4. If the issues continue, gather additional information such as the number of existing app versions and any specific requirements regarding version retention.