This problem disrupts the Power Automate flows, and presents an error message which claims "The Approvals operation encountered a known permissions issue. To resolve the issue, modify the "Approvals Administrator" role in the Microsoft Dataverse instance to add read permission to the asyncoperation (localized name "System Job") table.".
The request failed. Error code: 'XrmApprovalsGeneralPermissionsError'. Error Message: 'The Approvals operation encountered a known permissions issue. To resolve the issue, modify the "Approvals Administrator" role in the Microsoft Dataverse instance to add read permission to the asyncoperation (localized name "System Job") table.
Power Automate, originally known as Microsoft Flow, empowers organizations to automate tasks, improve productivity, and streamline processes. Its capability to interact with various Microsoft services, including Dynamics 365, enhances team collaboration and efficiency. However, technical glitches could occur due to software updates, privileges settings, or version discrepancies.
Prompt and appropriate error resolution, such as updating to the correct version of related software or adjusting permission settings, is vital for uninterrupted operation. Regular updates on Microsoft Flow Approvals and user permissions adjustments ensure seamless Power Automate flows, contributing to enhanced productivity, smoother processes, and overall operational efficiency.
If you've ever been confronted with a failure in your Microsoft Power Automate flows due to an error code 'XrmApprovalsGeneralPermissionsError', the subsequent guide provides insight on what happened, likely why, and what action steps are required to mitigate such an instance in the future.
More often than not, you might find this problem popping up post an update of several Microsoft solutions in your environment, even though no changes have been initiated on your end. Worry not, error messages issued by the system provide directions on how to troubleshoot the issue and are particularly useful.
The following steps are advised to be undertaken as a solution:
The above plan of action is suggested since the version 2.0.4.7 or subsequent of 'Microsoft Flow Approvals' will possibly allot the 'Approvals Administrator' role the missing privilege in the environment. Repeat the prior procedure, but instead of selecting 'Dynamics 365 apps', choose 'Security Roles > See All', then 'Approvals Administrator and select Edit'. Moreover, search for "asyncoperation" and change the read permission to "Organization".
It is paramount to mention that all of these actions require execution by an administrator. The versions of the solutions present in my environment was pegged at 2.0.4.3. This guide has been compiled with the intention of providing a comprehensive understanding of how to navigate such commonly occurring issues.
If you don't have the option to update the package or you are still seeing the error, you can resolve the issue by granting the "Approvals Administrator" role the missing privilege in the environment as follows (please note that these actions need to be performed by an administrator):
XrmApprovalsGeneralPermissionsError, Approvals operation error, permissions issue, request failed error, error code XrmApprovals, Xrm error message, XrmApprovalsGeneralPermissions, Approvals permissions issue, failed XrmApprovals request, known permissions issue error.