Ask Your Question
4

Why does the identical code which successfully establishes a connection to D365 via client credentials in a .net 4.6.2 console app fail when used in an SSIS script task?

asked 2021-11-07 11:00:00 +0000

lalupa gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-11-27 08:00:00 +0000

woof gravatar image

There could be multiple reasons why the identical code for establishing a connection to D365 via client credentials in a .net 4.6.2 console app fails when used in an SSIS script task. Some possible reasons could include:

  1. Permissions: The user running the SSIS package may not have the necessary permissions to access the D365 instance or the required APIs. Check the user permissions and ensure that the necessary APIs are enabled.

  2. Environment: The SSIS package may be running on a different environment or server than the console app. Verify that the environment has the necessary resources to establish a connection with D365.

  3. Configuration: The configuration settings for the SSIS package may be different or incorrect. Verify that the configuration settings, such as the endpoint URL, client ID, and client secret, are correct and match the configuration used in the console app.

  4. Debugging: Debugging an SSIS script task can be challenging, which can make it hard to identify the cause of the issue. Use logging or debugging tools to identify any errors or exceptions that occur during the execution of the script task.

  5. Compatibility: Some third-party libraries or dependencies used in the console app may not be compatible with SSIS. Verify that all the libraries and dependencies used in the console app also work with SSIS.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2021-11-07 11:00:00 +0000

Seen: 6 times

Last updated: Nov 27 '21