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

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Performance Issue After Upgrade to Business Central v26 (On-Prem)

(6) ShareShare
ReportReport
Posted on by 22
Hello,
We are experiencing a performance issue with an on-premises customer after upgrading from Business Central version 25 to version 26.
The problem occurs during user login: the initial loading of the Business Central Web Client takes over 2.5 minutes. Once the environment is loaded, everything works as expected. The same issue appears when a user is automatically signed out due to inactivity and then re-authenticated. However, if the user signs out manually and logs back in, the loading is fast.
 
In the WebClient server event log, we occasionally see warnings such as:
'Cache Key does not exist'
'Tried to remove missing cache for key'

However, these warnings do not correlate with the login timestamps.

 
On the middle tier, we consistently see an error during login from category CopilotAPI. We are using separate servers for WebClient, middle tier, and SQL.
We have also tried deploying a clean middle tier, but the issue persists.


Have you made any progress on this or received any feedback from Microsoft? We'd really appreciate any insights or suggestions.
Thanks
I have the same question (3)
  • YUN ZHU Profile Picture
    92,740 Super User 2025 Season 2 on at
    Performance Issue After Upgrade to Business Central v26 (On-Prem)
    Hi, I've seen similar issues before and suggest you uninstall all unnecessary Microsoft first-party apps and try again.
    PS: Dynamics 365 Business Central: Can we uninstall Microsoft (First-party) extensions and how to install them back?
     
    Hope this helps
    Thanks.
    ZHU
     
  • Petr Klíma Profile Picture
    22 on at
    Performance Issue After Upgrade to Business Central v26 (On-Prem)

    Thank you for the quick response.

    We tried uninstalling some of the unnecessary applications as suggested, but unfortunately it didn’t lead to any improvement. We also noticed that the issue described in the link you shared primarily concerns BC Online. In the end, it was confirmed to be a “spike on the app services which caused instability for the instances running on it.”

    Given the nature of the issue—where the slowdown occurs only during the first login or after automatic sign-out—we believe it is unlikely to be related to AL code, and more likely to be a behavior of the BC platform itself.

    We are currently running the following version:
    CZ Business Central 26.4
    Platform: 26.0.37130.0
    Application: 26.4.37194.37206

    If you have any further recommendations or experience with similar behavior in on-premises environments, we would greatly appreciate your insights.

  • Suggested answer
    DAnny3211 Profile Picture
    11,376 on at
    Performance Issue After Upgrade to Business Central v26 (On-Prem)

    Hi PK-19081351-0,

     

    The performance issue you're experiencing after upgrading to Business Central v26 On-Prem—specifically the slow initial login and re-authentication—is a known concern that others have also reported. Here's a summary of findings and suggestions based on recent community feedback and Microsoft documentation:

     
     

    🔍 Observed Behavior

     

    • Initial login takes 2.5+ minutes, but subsequent interactions are fast.

    • Manual logout/login is fast, while automatic re-authentication after timeout is slow.

    • WebClient logs show cache-related warnings: "Cache Key does not exist" and "Tried to remove missing cache for key".

    • Middle tier logs show errors from CopilotAPI, even though Copilot may not be actively used.


    •  
     
     

    ✅ Recommended Actions

     

    1. Regenerate customconfig.json

     

    Several users resolved similar issues by recreating the customconfig.json file for the server instance and only reapplying necessary values. This helped reduce the delay after server restarts [1].

     

    2. Disable Unused AI Features

     

    Disabling unused AI features (e.g., Copilot, Bank Reconciliation AI) significantly improved performance for some setups [1]. You can do this via the Feature Management page or by adjusting the Copilot & Agent Capabilities settings [2].

     

    3. Check OnCompanyOpen Triggers

     

    Heavy logic in the OnCompanyOpen trigger can slow down session initialization. Review any custom code or extensions that may be executing during login [3].

     

    4. Use Performance Profiler

     

    Microsoft recommends using the In-Client Performance Profiler to capture and analyze slow scenarios. This tool helps identify which extensions or objects are contributing to delays [3].

     

    5. Telemetry and SQL Analysis

     

    Enable verbose telemetry and review Database Wait Statistics and Missing Indexes to identify backend bottlenecks [3].

     

    6. CopilotAPI Error

     

    If you're not actively using Copilot, consider disabling it entirely. Errors from CopilotAPI during login may indicate misconfigured or unnecessary features that can be safely turned off [2].

     
     

    🧪 Additional Suggestions

     

    • Try a clean middle tier instance with minimal extensions.

    • Test login performance with different user roles to isolate permission-related delays.

    • Monitor SQL server performance during login to rule out database-side latency.


    •  
     

    Let me know if you'd like help crafting a script to reset the config or disable specific features.

     

    Thanks and best regards,

    Daniele

    Note: This response was prepared with support from Copilot to ensure clarity and completeness.

     

    [1]: Dynamics Community Forum

    [3]: Microsoft Learn - Performance Troubleshooting

    [2]: Copilot Troubleshooting Guide


    References
  • Suggested answer
    Sohail Ahmed Profile Picture
    11,087 Super User 2025 Season 2 on at
    Performance Issue After Upgrade to Business Central v26 (On-Prem)
    Maybe this will give you a hint to resolve your problem
     
     
    ✅ Mark this answer as verified if it helps you
  • Petr Klíma Profile Picture
    22 on at
    Performance Issue After Upgrade to Business Central v26 (On-Prem)
    Hi everyone,
    thank you all for your suggestions and support so far.
     
    Unfortunately, we're still experiencing the same issue. We've already tried several mitigation steps, including:
        1. Regenerating the customConfig.json file
        2. Deploying a clean middle-tier instance
        3. Uninstalling unnecessary apps and extensions

    However, the problem persists. In Feature Management, we don’t see any API-related features that could be disabled, so we’re unable to turn off any Copilot or similar capabilities from there.
     
    If anyone has additional ideas or has managed to resolve this in a similar environment, we’d really appreciate your input.
    Thanks again!
  • Suggested answer
    Khushbu Rajvi. Profile Picture
    19,158 Super User 2025 Season 2 on at
    Performance Issue After Upgrade to Business Central v26 (On-Prem)
  • Suggested answer
    Sumit Singh Profile Picture
    7,182 on at
    Performance Issue After Upgrade to Business Central v26 (On-Prem)
    Hi Petr, 
     
    Not sure it will hep however you can refer below official links in this regard:- 
     
  • Lori Profile Picture
    12 on at
    Performance Issue After Upgrade to Business Central v26 (On-Prem)
    I was having the same issue and the installation of Version 26.6 for on-premise did resolve it.
     
    Hot fix 602670  
     
    Fix for on-premise only, that improves performance by conditionally bypassing unnecessary Copilot Service calls.

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…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 4,308

#2
Sumit Singh Profile Picture

Sumit Singh 2,798

#3
Nimsara Jayathilaka. Profile Picture

Nimsara Jayathilaka. 2,793

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans