microsoft / Dynamics-AX-Integration

Dynamics AX Integration samples and demos.
285 stars 356 forks source link

D365FO2OneDrive sample #89

Open meneksesaygili opened 5 years ago

meneksesaygili commented 5 years ago

Hi, I was successful to run the sample of OneDrive2D365FO, but I couldn't get any results for D365FO2Onedrive.

I followed all sources you provided. https://github.com/Microsoft/Dynamics-AX-Integration https://github.com/Microsoft/Dynamics-AX-Integration/wiki/Deploying-sample-Logic-apps https://github.com/Microsoft/Dynamics-AX-Integration/wiki/File-based-integration-using-Logic-Apps

I am getting that error : "status": 400, "message": "An error has occurred. Exception occurred while executing action ExportToPackage on Entity DataManagementDefinitionGroup: Export to package failed for definition group: LogicApp_Import, package name: 77ed0439-1321-4e2e-bfe1-d4ae26ce1ca6, execution id: 2da39ac4-423f-4740-a553-9e24a11b42d0, reExecute: true, legal entity: true\r\nclientRequestId: 263b4c53-80af-4665-a391-333a5561de80", "source": "codecdemo1064849b05bce18e88aos.cloudax.dynamics.com", "errors": [] }

Regards, Menekse

wojzeh commented 4 years ago

check the path creation. I replaced concat with the following approach

"path": "/datasets/@{encodeURIComponent(encodeURIComponent(parameters('D365FOURL')))}/procedures/@{encodeURIComponent(encodeURIComponent('DataManagementDefinitionGroups/Microsoft.Dynamics.DataEntities.GetExportedPackageUrl'))}"