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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Service | Customer Service, Contact Center, Fie...
Suggested Answer

D365 USD Customer Service throwing script error on whoKnowsWhomLoader.js

(0) ShareShare
ReportReport
Posted on by 20

Hi 

We have Thick client Customer Service USD, and since today morning we starting receiving error 

One of the scripts for this record has caused an error. For more details, download the log file.

Event Name:onload
Function Name:checkWKWVisibility
Web Resource Name:

msdyn_/scripts/whoKnowsWhomLoader.js

We have not made any changes to D365 environment in the recent months and being not much an knowledge on the Dynamic, any help/information on this would be appreciated

Regards

MahaContinuation-Script2.PNGContinuation-Script3.PNG

I have the same question (0)
  • Suggested answer
    Sayen Zhang Profile Picture
    Microsoft Employee on at

    Hi Maha,

    This script error is a bug in 2023 Wave 1 preview release.

    The error happens when this function is enabled in the on load event of the Lead and Contact main form, we can disable function which named checkWKWVisibility to resolve the issue.

    Here are the steps:

    1. Go to Power Apps home page: https://make.preview.powerapps.com/

    2. Select the environment and click Solution.

    3. Select solution named msdyn_connectiongraph.

    pastedimage1682474478606v1.png

    4. Select Contact and click Forms.

    5. In contact main form, click Events and then expand On Load, disable checkWKWVisibility function.

    pastedimage1682474685215v2.png

    6. Save and publish.

    7. Similarly, we need to disable checkWKWVisibility function on lead main form and publish.

    By the way, the fix will be released in the 2023 Wave 1 GA.

    If you want to know the exact release date, I suggest you create a support ticket to know more detailsGet Help + Support - Dynamics | Microsoft Docs 

    Best Regards,

    Sayen Zhang

  • MahalakshmiS Profile Picture
    20 on at

    Thanks Sayen, 

    Raised to ticket to Microsoft for the release and also I was not able to find msdyn_connectiongraph solution but can see that new event in the system. 

  • Suggested answer
    Sayen Zhang Profile Picture
    Microsoft Employee on at

    Hi Maha,

    If you are not able to find msdyn_connectiongraph solution, you can edit Contact and Lead main form to disable function directly from environment which the error happens.

    Best Regards,

    Sayen Zhang

    Please mark as verified if the answer is helpful. Welcome to join hot discussions in Dynamics 365 Forums.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Service | Customer Service, Contact Center, Field Service, Guides

#1
NeerajPawar Profile Picture

NeerajPawar 31

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 30 Super User 2026 Season 1

#3
Eugen Podkorytov Profile Picture

Eugen Podkorytov 14

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans