Skip to main content

Notifications

Announcements

No record found.

Customer experience | Sales, Customer Insights,...
Suggested answer

Dynamics 365 App for Outlook error when loading

Posted on by 193

Hello Experts,

Recently I am running into some issues when loading Dynamics 365 App for Outlook from outlook.

Whenever I click the Add-in from outlook, I get an error message link "Error loading control". When I click on the link, I see the error message as Object doesn't support property or method 'forEach'. I have attached the screen shot and the log details.

I am not able to find any helpful articles regarding the issue. Please suggest any thoughts on this.

1172.Outlook-Error.JPG

Error Details: TypeError: Object doesn't support property or method 'forEach'
   at e.prototype._moveIndex (myenvironment.crm.dynamics.com/.../9.js
   at ref (myenvironment.crm.dynamics.com/.../9.js
   at ws (myenvironment.crm.dynamics.com/.../app.js
   at t.unstable_runWithPriority (myenvironment.crm.dynamics.com/.../app.js
   at ga (myenvironment.crm.dynamics.com/.../app.js
   at Is (myenvironment.crm.dynamics.com/.../app.js
   at hs (myenvironment.crm.dynamics.com/.../app.js
   at Anonymous function (myenvironment.crm.dynamics.com/.../app.js
   at t.unstable_runWithPriority (myenvironment.crm.dynamics.com/.../app.js
   at ga (myenvironment.crm.dynamics.com/.../app.js

Activity Id: bf79f433-289d-4e90-bec9-71c163283259

Thank you,

Preetam

  • Suggested answer
    Preetam Yengkokpam Profile Picture
    Preetam Yengkokpam 193 on at
    RE: Dynamics 365 App for Outlook error when loading

    Hello Tyson,

    Thanks a lot for the detail explanation and recommendations. I have upgrade the Outlook and Windows to the below version and the issue is completely resolved.  

    1. Outlook: Microsoft Outlook for Microsoft 365 MSO (16.0.13127.21062) 64 -bit

    2. Windows OS: Windows 10 (64-bit) v 1909.3.18363

    Thank you,

    Preetam

  • cepjc Profile Picture
    cepjc 25 on at
    RE: Dynamics 365 App for Outlook error when loading

    By the way... The 'Relevance Search' layout is also acting strange... It seem that the search box and button are collapsed in the layout.

    You have to expand the add-in window (in the Local Outlook App) to be able to see the search box and button/filters. Unfortunately in the OWA, that is not possible.

    Outlook App

    pastedimage1613485367404v1.png

    Outlook App (after expanding the add-in window)

    pastedimage1613485687466v3.png

    OWA

    pastedimage1613485505326v2.png

    It would be great if someone from Microsoft could have look into these issues, and fix them.

    Thanks,

    CEPCJ

  • cepjc Profile Picture
    cepjc 25 on at
    RE: Dynamics 365 App for Outlook error when loading

    Hi Community

    I am experiencing the same issue but only on the local Outlook application on Windows 10, the Dynamics 365 App for Outlook in OWA continues to works well. See screenshots below. Note that the default browser in Windows 10 is Edge. I noticed the issue after updating the local Outlook app.

    This must be related to the default browser used by the Dynamics 365 App for Outlook and the code in 10.js/app.js which the Dynamics/PowerApps team might would like to have a look into...

    Any suggestion/idea how we could resolve this issue? 

    For the moment, using OWA...

    Thank you in advance,

    CEPJC

    Error


    Error Details: TypeError: Object doesn't support property or method 'forEach'
    at e.prototype._moveIndex (myenvironment.crm4.dynamics.com/.../10.js?v=1.4.2172-2101.3:5:1822)
    at ref (myenvironment.crm4.dynamics.com/.../10.js
    at ws (myenvironment.crm4.dynamics.com/.../app.js?v=1.4.2172-2101.3:2440:95242)
    at t.unstable_runWithPriority (myenvironment.crm4.dynamics.com/.../app.js
    at ga (myenvironment.crm4.dynamics.com/.../app.js
    at Is (myenvironment.crm4.dynamics.com/.../app.js
    at hs (myenvironment.crm4.dynamics.com/.../app.js
    at Anonymous function (myenvironment.crm4.dynamics.com/.../app.js
    at t.unstable_runWithPriority (myenvironment.crm4.dynamics.com/.../app.js
    at ga (myenvironment.crm4.dynamics.com/.../app.js

    Screenshots

    pastedimage1613473648077v6.png

    pastedimage1613473594401v4.png

    pastedimage1613473602332v5.png

    pastedimage1613474328094v1.png

  • Tyson Bosse Profile Picture
    Tyson Bosse on at
    RE: Dynamics 365 App for Outlook error when loading

    Or another thing: you can modify the script to use ES5 syntax

    -Tyson

  • Suggested answer
    Tyson Bosse Profile Picture
    Tyson Bosse on at
    RE: Dynamics 365 App for Outlook error when loading

    Hello Preetam,

    This is an Internet Explorer limitation. As IE is an older browser, it cannot handle specific javascript as well as newer browsers. So you could tackle this in two ways:

    1. Remove any custom javascript that you may have that isn't supported with IE

    2. Upgrade your Outlook and Windows versions to the below:

    App for Outlook uses Microsoft Edge browser when you are using Windows 10 (version 1903 or later) OS and Outlook Click-2-Run client that’s updated to the current channel, Monthly Enterprise channel, or Semi-annual Enterprise channel (16.0.13127.20508 or later). For other combination of Windows and Outlook, App for Outlook uses Microsoft Internet Explorer browser.

    If you upgrade outlook and windows to the above versions, then the app for outlook will leverage Edge Browser instead of ie.

    Thanks,

    Tyson

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans