Personalized Community is here!
Quickly customize your community to find the content you seek.
Have questions on moving to the cloud? Visit the Dynamics 365 Migration Community today! Microsoft’s extensive network of Dynamics AX and Dynamics CRM experts can help.
2023 Release Wave 1Check out the latest updates and new features of Dynamics 365 released from April 2023 through September 2023
The FastTrack program is designed to help you accelerate your Dynamics 365 deployment with confidence.
FastTrack Community | FastTrack Program | Finance and Operations TechTalks | Customer Engagement TechTalks | Upcoming TechTalks | All TechTalks
I have the GP 2013 connector adapter working or at least when I click Test Setting it is successful so I assume it is working correctly. I am trying to configure the connector adapter settings for CRM 2013. When I click Test Setting on the CRM adapter I get the following error message. Also I wanted to make sure I have the correct connector. I d/l it from Microsoft and it said it supported GP 2013 and 2015 and CRM 2013 - 2016, but when I open the connector it only lists the following adapters GP, GP10 and CRM 2011. From the install guide I have, the GP connector it what I'm supposed to use for GP 2010 and GP 2013.
A connection to the Microsoft Dynamics CRM Discovery Web Service could not be validated using the "mydomain\crmconnectoraccount" user name and the http://servername/xrmservices/2011/discovery.svc discovery service url. The following exception occurred while attempting to retrieve all companies: Metadata contains a reference the cannot be resolved: "http://servername/xrmservices/2011/discovery.svc?wsdl'
When I go into the Configuration Utility it has the above url listed and I input the crm admin account and click Get Organizations is says Did not find any Organizations
Any help would be appreciated
Just to claify you have entered the CRM servername specific to your instance correct? In the image below I have blurred out the server name.
You can find this url directly from CRM by navigating to settings->Customization->Developer Resources:
If you are still recieving the error, it could be a user permission issue? Does the user you have entered have access to CRM and have the Administrator Security Role?
*Edit- Repaired issue with images*
First off total Noobie to CRM and Connectors.
I got it to work. I had to put the host name I used in IIS. I not sure if that is the correct way or not but it is working sorta. I am having mapping issues. (more research) The user can login to CRM and the Admin Security role I'm guessing your talking about the Dynamic Security Console? If so then yes.
No worries! Glad you got the right URL setup.
Which mappings are you having issues with?
Are you getting error logs in the connector?
I am having a permission issue somewhere. Its hard to find clear documentation on how to get this setup correctly. I was doing some research and see a post that says the connector should be installed on the CRM machine? Is this correct. Currently it is installed on the GP machine.
I am trying to map the GP Enumerated Values to Picklist. It find 3 records and writes 2 and fails on 1 what is Sales.
When it run I get 2 logs list below.
Log 1) Completed: 2 record(s) have been written. 0 record(s) have been deleted. 1 record(s) have failed. 0 record(s) were filtered. Total runtime was 31.396834 seconds.
Log 2) Exception has been thrown by the target of an invocation. (Source Item Key: Sales)
Log from Event Viewer on GP machine
Exception has been thrown by the target of an invocation.
--- Exception Dump ---
Caught Exception: [System.Reflection.TargetInvocationException] Exception has been thrown by the target of an invocation.
at System.RuntimeMethodHandle.InvokeMethod(Object target, Object arguments, Signature sig, Boolean constructor)
at System.Reflection.RuntimeMethodInfo.UnsafeInvokeInternal(Object obj, Object parameters, Object arguments)
at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object parameters, CultureInfo culture)
at Microsoft.Dynamics.Integration.Adapters.Gp2010.EnumeratedValuesObjectProvider.GetKeyNames(String type)
at Microsoft.Dynamics.Integration.Adapters.Gp2010.EnumeratedValuesObjectProvider.GetListValues(String skey, ObjectDefinition objDef)
at Microsoft.Dynamics.Integration.Service.Tasks.RecordWork.ProcessRead(Object recordKey, DbMap map, String loggingSourceName, Boolean& isFiltered)
at Microsoft.Dynamics.Integration.Service.Tasks.RecordWork.DoRecordWork(DbMap map, Object key, OperationType operationType, DateTime startTime, String loggingSourceName)
Inner Exception: [System.ServiceModel.FaultException`1[System.ServiceModel.ExceptionDetail]] Insufficient authorization to perform this action.
Server stack trace:
at System.ServiceModel.Channels.ServiceChannel.ThrowIfFaultUnderstood(Message reply, MessageFault fault, String action, MessageVersion version, FaultConverter faultConverter)
at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object ins, Object outs, TimeSpan timeout)
at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
Exception rethrown at :
at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
at Microsoft.Dynamics.Integration.Adapters.Gp2010.GPWebService.DynamicsGP.GetShippingMethodList(ShippingMethodCriteria criteria, Context context)
I believe the connector can be installed anywhere that has access to GP and CRM.
Does the GP Integration User have the correct roles?
Try this guide, page 12 of the GP guide details setting up the Integration User: www.microsoft.com/.../details.aspx
You can also try to enable verbose logging in the connector. crmbusiness.wordpress.com/.../how-to-turn-on-logging-for-the-dynamic-connector
Also is anyone making any customizations or configurations to CRM while the connector is running?
I have those guides and have the accounts setup like they say. This is in a test environment so nobody has access except me. I don't have a log file named like what is in turn on logging article states. I have one for the configuration and its showing an access denied on the import connectorforgp.zip solution shown below. The 2 accounts I am using both have access to that file, so I'm not sure why its saying access denied unless its something on the sql side.
The file was read-only that's why it was giving me the access denied.
Business Applications communities