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

Create Sales Invoice in Dynamics 365 Business Central

Hi,

 

I'm trying to create a workflow where:

 

1. I upload a XML file to my personal OneDrive (not business).

2. A Sales Invoice is created in Dynamics 365 Business Central based on XML values.

 

I receive this error in the step 2.

 

"Error from token exchange: Connection europe-001/logicflows/9f9c8de4-a4e6-40b6-a9c8-3a9ee73e9022@https://europe-001.azure-apim.net/ is not allowed to access connection europe-001/dynamicssmbsaas/shared-dynamicssmbsa-81afccbe-4a3d-4242-ac9b-60a94196ff8d".

 

Is it maybe because step 1 uses different credentials than step 2's credentials?

 

Thanks

1 REPLY 1
v-bacao-msft
Community Support
Community Support

 

Hi @sergio123 ,

 

Could you share a screenshot of the Flow configuration?

Have you tried updating the connection or re-creating the connection?

This seems to be related to permissions. Please check if the account used to configure the action connection has sufficient permissions to access the corresponding data.

 

Best Regards,

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Top Solution Authors
Top Kudoed Authors
Users online (3,328)