Suppose we have a simple web service which uses CrmService to create contact records. Now we want to call this custom web service from within our plug-in.
On doing so, we might receive following errors
System.Net.WebException: The request failed with HTTP status 401: Unauthorized.
or
Microsoft.Crm.CrmException: No Microsoft Dynamics CRM user exists with the specified domain name and user ID
It could be because the credentials of the user are not getting passed from the plugin to the custom webservice.
Here we could the following
We can enable anonymous access and specify a valid CRM user’s credential there.
Bye..
Discover more from Nishant Rana's Weblog
Subscribe to get the latest posts sent to your email.

Hi,
I cannot write permanent user and password in IIS.
I must call from Plug-in to my custom web services like CRM3.0
If I understand correctly Microsoft blocked this option.
Other idea?
Rami Heleg
LikeLike
Tremendous things here. I am very happy to peer your post.
Thank you a lot and I am taking a look forward to touch you.
Will you kindly drop me a mail?
LikeLike
Wholesale Senior Bowl jerseys
LikeLike