cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
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
PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

MPA Community Blog

Power Automate Community Blog

Check out the community blog page where you can find valuable learning material from community and product team members!

Top Solution Authors
Users online (8,520)