WaelHamze / dyn365-ce-vsts-tasks

VSTS Extension for Dynamics 365 Customer Engagement
https://marketplace.visualstudio.com/items?itemName=WaelHamze.xrm-ci-framework-build-tasks
GNU General Public License v3.0
117 stars 56 forks source link

OnPremise Dynamics 365: Unable to login to Dynamics CRM #242

Open Princemuhammad opened 3 years ago

Princemuhammad commented 3 years ago

Hi Wael,

Thanks for the tool for Pipeline.

I am having an issue when I ping my on premise Dynamics 365 V9 environment and below error is being obtained and I do not have Claim based or IFD setup yet on my DEV and UAT environment. I have changed the connection string without success.

Note authentication is AD.

Kindly advise what can be the error, the end point is accessible and no error obtaining on my front end and back end server event viewer.

[debug]Connecting to CRM [attempt 1]

[warning]Unable to login to Dynamics CRM, Error was : The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.

The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.Unable to Login to Dynamics CRM Unable to Login to Dynamics CRM

[debug]Processed: ##vso[task.logissue type=warning]Unable to login to Dynamics CRM, Error was : The server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.%0D%0AThe server was unable to process the request due to an internal error. For more information about the error, either turn on IncludeExceptionDetailInFaults (either from ServiceBehaviorAttribute or from the configuration behavior) on the server in order to send the exception information back to the client, or turn on tracing as per the Microsoft .NET Framework SDK documentation and inspect the server trace logs.Unable to Login to Dynamics CRM%0D%0AUnable to Login to Dynami...

[warning]Unable to Login to Dynamics CRM

Thanks.

WaelHamze commented 2 years ago

@Princemuhammad where are you running this pipeline (i.e. which agent)? Could you also share a masked connection string you are using?