cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
daniel_dai
New Member

Business Central purchase order approval permission error

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.

 Approval Error.png

 

9 REPLIES 9
v-xida-msft
Community Support
Community Support

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

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

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.

Theo
New Member

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

 
harish_3
Frequent Visitor

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,

harish_3_0-1595820225800.png

 

Open Connection Information from the Configuration menu,

harish_3_1-1595820286061.png

Check if the Web service access key is generated for the user which you have used in power automate for "Execute Action".

harish_3_2-1595820428859.png

 

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.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (3,583)