I am creating a purchase order approval connecting to Business Central. I get the following error when the Flow gets to the Business Central execute action stage:
"message": "ErrorCode: Application_DialogException User PARTNER-CITYDYNAMICS does not have the permission necessary to continue the item.\r\nclientRequestId: 507d4e07-0271-4d20-a4cb-75d7082a98de",
Within Business Central, the user has the SUPER permission set and has also been setup in the Approval Setup with "Unlimited Purchase Approval" ticked.
Could you please share a full screenshot of your flow's configuration?
The error message told that your Dynamics 365 Business Central account don't have full access to execute the "Execute" action.
Please check if you have been assigned to a super user role or an administrator role within your Dynamics 365 Business Central. More details about permissions within Dynamics 365 Business Central, please check the following article:
In addition, please also take a try to clear cache of your browser and re-create a new connection to the Dynamics 365 Business Central connector, then try your flow again to check if the issue is solved.
We have encountered the same issue/error.
Yes, the account processing the Flow does have the SUPER role and we have reset the BC connection.
Any further ideas?
We have checked that the user has the super user role and recreated the connection along with the entire flow. We have tried this in multiple instances and stil get the same results.
This is using the default Flow template.
if you did not find solution for this, we found case in which approval of Sales Quote in D365 BC pass. You need to setup your user as approval user, and as well another user.
For example, we configured in Approval user setup following:
Admin approver megan, setup e-mail for admin, approval administrator
Megan approver admin, setup e-mail for megan, not approval administrator
Also we configured one workflow user group with both users.
After that workflow finished in success.
Recently we have encountered the same error when using default template in power automate for approvals in business central.
The account used for "Execute Action" had SUPER user permission and we have tried in different browsers also, still the same error.
Finally, we found that the user had not generated "Web Service access key" which is used in flow for connecting to Business central with the particular account. After generating the key, this issue is resolved.
In Business Central, Open Manage Flows Page,
Open Connection Information from the Configuration menu,
Check if the Web service access key is generated for the user which you have used in power automate for "Execute Action".
Also, ensure that this user is configured in "Approval User Setup" for approving this document.
If this helped you, I'd appreciate it if you'd mark this as a Verified Answer, which may, in turn, help others as well.
Please feel free to contact, if you need any clarifications.
Thanks & Regards,
Keep up to date with current events and community announcements in the Power Automate community.
A great place where you can stay up to date with community calls and interact with the speakers.
Check out the latest Community Blog from the community!