Hi,
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:
"status": 400,
"message": "ErrorCode: Application_DialogException User PARTNER-CITYDYNAMICS does not have the permission necessary to continue the item.\r\nclientRequestId: 507d4e07-0271-4d20-a4cb-75d7082a98de",
"source": "api.financials.dynamics.com",
"errors":
Within Business Central, the user has the SUPER permission set and has also been setup in the Approval Setup with "Unlimited Purchase Approval" ticked.
Hi @daniel_dai,
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:
https://docs.microsoft.com/en-us/dynamics365/business-central/admin-setup-and-administration
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.
Best regards,
Kris
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?
Hi Kris,
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.
Regards,
Daniel
I am having this same issue, did you solve this in the end? If yes, how?
Hi,
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.
Br,
Renato.
I'm still having the same permission error with Flow and D365BC purchase orders approvals.
Has anybody ever seen a solution or a work around perhaps?
Thanks Theo
Hello,
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,
Harish Kumar R
ERP Technical Consultant
CETAS Information Technology Pvt. Ltd.
Mobile : +91 9790126926
www.cetastech.com
LinkedIn | Twitter | Facebook | YouTube
Thanks that was the problem in my case, and your suggestion solved my problem.
User | Count |
---|---|
89 | |
37 | |
26 | |
13 | |
12 |
User | Count |
---|---|
128 | |
53 | |
38 | |
26 | |
21 |