microsoft / Recurring-Integrations-Scheduler

Recurring Integrations Scheduler (RIS) is a solution that can be used in file-based integration scenarios for Dynamics 365 Finance and Dynamics 365 Supply Chain Management.
Other
139 stars 61 forks source link

Import Job stops after loading Data into Azure #113

Closed anikastrick closed 2 years ago

anikastrick commented 4 years ago

We like to use the Import Job to import orders vis RIS Tool into D365. We created the Package template file und try import that into D365. When we use the RIS Tool for this scenario, we get the following error messages:

  1. _The description for Event ID 0 from source Recurring Integrations Scheduler cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

RecurringIntegrationsScheduler.Common.Helpers.HttpClientHelper - Job: Import jobs.ORDERS. HttpClientHelper.ImportFromPackage request failed. Uri: https://eizoeu-test01.sandbox.operations.dynamics.com/data/DataManagementDefinitionGroups/Microsoft.Dynamics.DataEntities.ImportFromPackage

Parameters:

packageUrl: https://eizoeutest01c073639119dc.blob.core.windows.net/dmf/82332ea8-7598-427b-bfe4-daef25ccf6e1?sv=2014-02-14&sr=b&sig=mQfCD7rNs7tVImoJf0QHh6glM7cwa5NcjeUiAKqDy0Y%3D&st=2020-06-05T07%3A21%3A33Z&se=2020-06-05T07%3A56%3A33Z&sp=rw definitionGroupId: RIS executionId: RIS-2020-06-05_09-26-33-98b36168-35e2-4357-ada5-5c1c6241f9ad execute: True overwrite: True legalEntityId: EDE

Response status code: BadRequest Response reason: Bad Request Response message: System.Net.Http.StreamContent_

  1. _The description for Event ID 0 from source Recurring Integrations Scheduler cannot be found. Either the component that raises this event is not installed on your local computer or the installation is corrupted. You can install or repair the component on the local computer.

If the event originated on another computer, the display information had to be saved with the event.

The following information was included with the event:

RecurringIntegrationsScheduler.Job.Import - Job: Import jobs.ORDERS. Upload failed for file: C:\Users\anika.strick\Desktop\EIZO RIS Tool\Input\jOBUXQDDPK.see. Failure response: Status: BadRequest, Reason: Bad Request. ImportFromPackage failed request's parameters: packageUrl: https://eizoeutest01c073639119dc.blob.core.windows.net/dmf/82332ea8-7598-427b-bfe4-daef25ccf6e1?sv=2014-02-14&sr=b&sig=mQfCD7rNs7tVImoJf0QHh6glM7cwa5NcjeUiAKqDy0Y%3D&st=2020-06-05T07%3A21%3A33Z&se=2020-06-05T07%3A56%3A33Z&sp=rw definitionGroupId: RIS executionId: RIS-2020-06-0509-26-33-98b36168-35e2-4357-ada5-5c1c6241f9ad execute: True overwrite: True legalEntityId: EDE

When we import the package, which is uploaded to Azure, manually via DIXF it is successful. Could you please check if you can identify any problems?

Due to vacation next week could you please answer to me and my colleague marc.rohden@avanade.com?

Thank you Anika

TomekMelissa commented 4 years ago

If this is demo instance you should be able to look for the clue in DIXF event logs on AOS. The most probable explanation is somewhat incorrect content of the package.

marcrohden commented 4 years ago

Hello,

we are currently importing in UAT. As explained in the post, the package contents are correct. We downloaded the uploaded package manually from the blob storage and imported it manually, this works fine without problems.

TomekMelissa commented 4 years ago

Try it on another Demo instance and see if it is reproducible. In your log i see two legal entities ids EDE and EDE_ Are those correct?

marcrohden commented 4 years ago

Hello,

only company EDE is correct, I checked my configuration, EDE is configured correctly here.

I will try to reproduce it on a DEV sandbox environment with a developer.

Mit freundlichen Grüßen / Kind regards Marc Rohden | Director Business Applications (ERP / Dynamics 365) Avanade Deutschland GmbH | Office Neuss Habichtweg 21 D-41468 Neuss Phone: +49 (211) 387 9030 Mobile: +49 (173) 5335511 www.avanade.dehttp://www.avanade.de/ [cid:image001.png@01D63D92.67420DB0]https://www.avanade.com/de-de [cid:image002.png@01D63D92.67420DB0]http://digitalbusinessavanade.tumblr.com/[cid:image003.png@01D63D92.67420DB0]https://www.facebook.com/AvanadeDACH/[cid:image004.png@01D63D92.67420DB0]https://twitter.com/AvanadeDACH[cid:image005.png@01D63D92.67420DB0]https://www.youtube.com/user/AvanadeInc[cid:image006.png@01D63D92.67420DB0]https://www.linkedin.com/company/avanade-asg[XING Icon Signature_V3]https://www.xing.com/companies/avanadedeutschlandgmbh

Von: Tomek Melissa notifications@github.com Gesendet: Montag, 8. Juni 2020 12:39 An: microsoft/Recurring-Integrations-Scheduler Recurring-Integrations-Scheduler@noreply.github.com Cc: Marc Rohden marc.rohden@avanade.com; Comment comment@noreply.github.com Betreff: [External] Re: [microsoft/Recurring-Integrations-Scheduler] Import Job stops after loading Data into Azure (#113)

Try it on another Demo instance and see if it is reproducible. In your log i see two legal entities ids EDE and EDE_ Are those correct?

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fmicrosoft%2FRecurring-Integrations-Scheduler%2Fissues%2F113%23issuecomment-640522548&data=02%7C01%7C%7Cc4cd0a71621b4b54765608d80b9822fc%7Ccf36141cddd745a7b073111f66d0b30c%7C0%7C1%7C637272095338137338&sdata=MzO2BjjbotqS3JoLyt9r%2Frz5uIsOluCUZtfYo%2FRrtJ0%3D&reserved=0, or unsubscribehttps://nam03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAP4BKG344KMWFEV2G25UDYDRVS5TXANCNFSM4NTKCDWQ&data=02%7C01%7C%7Cc4cd0a71621b4b54765608d80b9822fc%7Ccf36141cddd745a7b073111f66d0b30c%7C0%7C1%7C637272095338147333&sdata=LbaXTNGgGgz4VZ6BmPzbKHMnyJmkxmLAHi4Q%2BUEfaJo%3D&reserved=0.

nirmalchd commented 4 years ago

Hi Anika,

Did you manage to resolve this issue. I seem to get the same error with the import job. I tried to download from Blob and use that for import it works so the package is OK.

With thanks Nirmal