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:
- For this of the app version reverting to the recommended version:
- Open the Power Apps studio in edit mode.
- Change the version from the recommended version to the desired version.
- Save the changes and publish the app with the chosen version.
- If the issue persists, refer to the article on changing the authoring version for Power Apps Studio.
- For the issue of end users not receiving the latest version:
- Advise users to perform a hard refresh to clear the cache.
- 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.
- If the issues continue, gather additional information such as the number of existing app versions and any specific requirements regarding version retention.
