web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Can dynamic CRM 9.1 on promise version be upgraded to jQuery 1.14.1 and how to operate it?

(2) ShareShare
ReportReport
Posted on by 12
Dear ,
 
Can dynamic CRM 9.1 on promise version be upgraded to jQuery 1.14.1 and how to operate it?
 
Thanks.
 
Regards,
Rocky.
I have the same question (0)
  • Muhammad Shahzad Shafique Profile Picture
    2,373 Most Valuable Professional on at
    Dynamics 365 CRM 9.1 On-Premises does not officially support jQuery 1.14.1, mainly because jQuery 1.14.1 doesn't exist.
     
    Alternative Approach: Load Custom jQuery Version Without Conflict

    If your goal is to use modern jQuery (like 3.6.0) in custom scripts without breaking CRM’s native libraries:

    Use jQuery.noConflict() Approach

    You can load a separate jQuery file in your custom web resources and isolate it like this:


    var script = document.createElement('script');
    script.src = '/WebResources/new_/jquery-3.6.0.min.js';
    script.onload = function() {
        var jq3 = jQuery.noConflict(true); // Release $ and jQuery from global scope
        // Now use `jq3` instead of `$` to work safely
        jq3(document).ready(function () {
            jq3("#myDiv").text("This uses jQuery 3.6.0");
        });
    };
    document.head.appendChild(script);
     
     
    📁 Upload jquery-3.6.0.min.js as a JavaScript Web Resource (e.g., new_/jquery-3.6.0.min.js).
     
     
  • RC-24040722-0 Profile Picture
    12 on at
    Dear,
    The latest version of Dynamic CRM 9.1 on promise currently uses jQuery version 1.13.1. Is there an official statement stating that jQuery version 1.14.1 cannot be used, as security vendors recommend using version 1.14.1 of jQuery.
     
    Thanks.
    Regards,
    Rocky.
  • Suggested answer
    Daivat Vartak (v-9davar) Profile Picture
    7,835 Super User 2025 Season 2 on at
    Hello RC-24040722-0,
     

    You're right to be concerned about security vulnerabilities and wanting to keep your jQuery library up-to-date. However, directly upgrading the jQuery version within Dynamics 365 v9.1 on-premises is generally not a supported or recommended practice.

    Here's a breakdown of why and what you should consider:

    Why Directly Upgrading jQuery is Problematic in Dynamics 365:

    • Part of the Platform: jQuery is deeply integrated into the Dynamics 365 v9.1 platform. Many of the out-of-the-box functionalities, UI components, and even Microsoft's internal scripts rely on the specific version of jQuery (1.13.1 in your case) that was included during the development and testing of that version.

    • Potential for Breaking Functionality: Replacing the core jQuery library with a different version, even a minor one like 1.14.1, can introduce compatibility issues. It could break existing functionalities, customizations (especially those relying on jQuery), and even lead to instability within the application.

    • Unsupported Configuration: Manually modifying core platform files is not supported by Microsoft. Doing so can void your support agreement and make future updates or troubleshooting significantly more difficult.

    • No Official Upgrade Path: Microsoft does not provide a direct or documented method for end-users to upgrade the core JavaScript libraries within Dynamics 365 on-premises. These libraries are typically updated only as part of larger Cumulative Updates or version upgrades that are thoroughly tested by Microsoft.


    •  

    Official Statement on jQuery Version:

    As of my last knowledge update, Microsoft does not typically release specific statements prohibiting the use of a particular minor version of jQuery within customizations. However, they also do not officially support or recommend replacing the platform's core jQuery library.

    Addressing Security Vendor Recommendations:

    Your security vendor's recommendation to use jQuery 1.14.1 is valid from a general security standpoint. However, in the context of a complex platform like Dynamics 365, you need to consider the potential for breaking the application.

    Here's how you should approach this:

    1. Assess the Specific Vulnerability: Ask your security vendor for the specific Common Vulnerabilities and Exposures (CVE) identifiers that they are flagging in jQuery 1.13.1. Research these CVEs to understand the actual risk they pose to your Dynamics 365 environment. Some vulnerabilities might not be exploitable within the specific way Dynamics 365 uses jQuery.

    2. Focus on Mitigation within Customizations:

      • Review Custom Code: Carefully examine all your custom JavaScript code (web resources, form scripts) that uses jQuery. Ensure you are following secure coding practices and are not directly leveraging the vulnerable aspects of jQuery 1.13.1 (if the identified CVEs are relevant).

      • Consider Alternatives: For new customizations, explore if you can achieve the desired functionality using plain JavaScript or the Dynamics 365 Client API instead of relying heavily on jQuery. This reduces your dependency on third-party libraries and potential security concerns.

      • Isolate jQuery Usage: If you must use a newer version of jQuery for specific custom components, consider loading it in a specific isolated context (e.g., within an iframe or a specific web resource) to avoid conflicts with the platform's core jQuery library. However, this adds complexity and might still have unforeseen interactions. 

    3. Stay Up-to-Date with Dynamics 365 Updates: The best way to address security concerns in the long run is to ensure your Dynamics 365 v9.1 on-premises environment is kept up-to-date with the latest Cumulative Updates released by Microsoft. These updates often include security fixes for various components, including the underlying JavaScript libraries. Check the release notes for each Cumulative Update to see if jQuery or related libraries have been updated.

    4. Plan for Future Upgrades: Dynamics 365 v9.1 is an older version. Consider planning for a future upgrade to a more recent version of Dynamics 365 (e.g., Dynamics 365 Customer Engagement Apps on-premises v9.0, which has a different update cadence, or the latest versions). Newer versions of Dynamics 365 often include more recent versions of core libraries.

       


    5.  

    In conclusion:

    While your security vendor's recommendation is important, directly upgrading the core jQuery library in Dynamics 365 v9.1 on-premises is not a supported or safe approach. You risk breaking your system. Instead, focus on:

    • Understanding the specific vulnerabilities flagged.

    • Mitigating risks within your custom code.

    • Keeping your Dynamics 365 environment up-to-date with official Microsoft updates.

    • Planning for future upgrades to more recent versions of Dynamics 365.

    •  

    If the security risks associated with jQuery 1.13.1 are deemed critical for your organization, your best course of action is to thoroughly analyze your customizations, explore alternative coding approaches, and prioritize staying current with official Dynamics 365 updates or planning for a version upgrade. Avoid directly manipulating the core platform files.

     
    If my answer was helpful, please click Like, and if it solved your problem, please mark it as verified to help other community members find more. If you have further questions, please feel free to contact me.
     
    My response was crafted with AI assistance and tailored to provide detailed and actionable guidance for your Microsoft Dynamics 365 query.
     
    Regards,
    Daivat Vartak

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans