Other day my CRM application started behaving weirdly, it was prompting credentials for every OData/SOAP calls in my Jscripts.

Here is the scenario, I had a custom jscript library on Account entity which enable/disable ribbon buttons on form load.

So when I open the Account form I had to provide credentials for all those service calls in my custom jscript.

I thought the problem was with my browser settings I even tried by resetting properties of my browser but it did not solve the issue

Finally setting to the Windows Authentication’s “Providers” solved my problem.

Below are the steps I followed

  • Open IIS
  • Click on “Microsoft Dynamics CRM” website
  • Double click on “Authentication” on “Features View”
CRM Windows Authentication
CRM Windows Authentication
  • Click on “Providers” on left navigation
  • Make sure “Negotiate” provider is the 2nd option after NTLM
Providers
Providers
  • Reset IIS

These steps worked in my case. Thanks for the hosks link

Advertisements
Advertisements

3 responses to “CRM application prompting credentials for all SOAP/OData calls”

  1. syam Avatar
    syam

    Hi Rajeev,

    I like your blog and the contents are very useful and helpful.
    I need some guidance on my first application in crm 2011.
    If the user select a record , the below records must be selected in a view based on a same field value. please let me know if you need more information or possible solution how can i do this?
    Thank you for your help in advance.
    Syam

    1. Rajeev Pentyala Avatar

      Hi,
      All the views in CRM are custome grid controls and we dont have control over it.
      However we can get control over “subgrid” in unsupported way which is not recommended.
      Refer my article
      https://rajeevpentyala.wordpress.com/2012/06/02/reading-sub-grid-records-using-jscript-in-crm-2011/
      Which I was reading subgrid data.
      You can get the “Cell” of subgrid row and register onchange event to achieve your requirement.
      Thanks,
      Rajeev

  2. Eduardo Rivas Avatar
    Eduardo Rivas

    Hi everyone

    i’ve same problem but this solution it didn’t work.

    Some other suggestion

Leave a comment