Giter VIP home page Giter VIP logo

Comments (12)

MZade avatar MZade commented on May 13, 2024

Did you took a look into the Event log on the RIS machine? There is a separate application log for RIS. You can also debug the RIS and/or ImportFromPackage on the AOS as last chance/step.

from recurring-integrations-scheduler.

TomekMelissa avatar TomekMelissa commented on May 13, 2024

The user on your screenshot is [email protected] I understand this is only for demonstration purpose and in fact you are using valid user for your instance.
Btw. I will work on the resolution/scaling issue soon :)

from recurring-integrations-scheduler.

fhburney avatar fhburney commented on May 13, 2024

How dumb of me of not setting the correct user, fixed that.

image

Okay so still having a issue, any idea, its just customer file, i do not have all the field in the entity but I have all the nessary one. Also this is using the data template I created and its not the template you can generate by setting a export project do the fields and export the data package and then delete the file from the zip

image

image

from recurring-integrations-scheduler.

TomekMelissa avatar TomekMelissa commented on May 13, 2024

This is how you prepare template file #2

from recurring-integrations-scheduler.

fhburney avatar fhburney commented on May 13, 2024

@TomekMelissa

Thanks still getting a errors, here is my setup, followed exactly how it is explained

image

This what I am getting in log file

Quartz.Core.JobRunShell - Job Import jobs.CustImport threw a JobExecutionException:
Parameters: refire = False, unscheduleFiringTrigger = False, unscheduleAllTriggers = False
Quartz.JobExecutionException: Import job: Import jobs.CustImport failed ---> System.ArgumentException: Empty path name is not legal.
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamReader..ctor(String path)
at RecurringIntegrationsScheduler.Job.Import.GetFileNameInPackage()
at RecurringIntegrationsScheduler.Job.Import.d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RecurringIntegrationsScheduler.Job.Import.d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RecurringIntegrationsScheduler.Job.Import.d__10.MoveNext()
--- End of inner exception stack trace ---
at RecurringIntegrationsScheduler.Job.Import.d__10.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Quartz.Core.JobRunShell.d__9.MoveNext() [See nested exception: System.ArgumentException: Empty path name is not legal.
at System.IO.StreamReader..ctor(String path, Encoding encoding, Boolean detectEncodingFromByteOrderMarks, Int32 bufferSize, Boolean checkHost)
at System.IO.StreamReader..ctor(String path)
at RecurringIntegrationsScheduler.Job.Import.GetFileNameInPackage()
at RecurringIntegrationsScheduler.Job.Import.d__12.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RecurringIntegrationsScheduler.Job.Import.d__11.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at RecurringIntegrationsScheduler.Job.Import.d__10.MoveNext()]

from recurring-integrations-scheduler.

MZade avatar MZade commented on May 13, 2024

My understanding is that for composite data entities, you should not set the "Overwrite data project definition". Just leave it unchecked and try again...

from recurring-integrations-scheduler.

fhburney avatar fhburney commented on May 13, 2024

Thanks @MZade

So the problem was, I unzipped the orginal zip file, deleted the data file and zipped it backup, winzip for some reason created another sub folder and places the files there. So once I fixed that I did pass those errors, now I am getting this error

RecurringIntegrationsScheduler.Job.Import - Method GetAzureWriteUrl returned empty string

Also when I validate I do get this error

AAD authentication was successful
D365FO instance seems to be up and running.
Access to D365FO instance was successful.
Method GetAzureWriteUrl returned empty string. Check previous errors.Method GetMessageStatus returned empty string. KB4058074 is not installed.

I am using 8.0 update 15, interesting its missing a KB

from recurring-integrations-scheduler.

TomekMelissa avatar TomekMelissa commented on May 13, 2024

This is not necessarily true... This validation only checks one particular request introduced in this KB.
It fails, but previous one (GetAzureWriteURL) fails as well, so it looks like you have 7.2 instance pre PU5 which is not true... I will make some checks with 8.0 and will get back to you.

from recurring-integrations-scheduler.

phillipsra16 avatar phillipsra16 commented on May 13, 2024

@MZade & @TomekMelissa

The problem seems to stem from not adding the Azure AD Application to Dynamics.

image

from recurring-integrations-scheduler.

fhburney avatar fhburney commented on May 13, 2024

@TomekMelissa

I can confirm this is working with the latest release, thank you!

from recurring-integrations-scheduler.

RussKuksin avatar RussKuksin commented on May 13, 2024

Having similar issue. Ax version is 8.0 update 15 (7.0.4841.35234)
Trying to "Validate" connection with service authentication and getting this in return:
"AAD authentication was successful
D365FO instance seems to be up and running.
AAD application is not mapped to a user or mapped user has insufficient privileges assigned.
Method GetAzureWriteUrl returned empty string. Check previous errors.Method GetMessageStatus returned empty string. KB4058074 is not installed."

And yet the setup on the AX side is done:
setup1

from recurring-integrations-scheduler.

abhishekbaluni avatar abhishekbaluni commented on May 13, 2024

have similar issue , when hit validate , the parameters am getting the following error

AAD authentication was successful
D365FO instance seems to be up and running.
Access to D365FO instance was successful.
Method GetAzureWriteUrl returned empty string. Check previous errors.Method GetMessageStatus returned empty string. Check previous errors.

have added the aad application

from recurring-integrations-scheduler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.