Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

Turn on OOB workflow failed. Method not found error.

(5) ShareShare
ReportReport
Posted on by 2,051
Hello Everyone,
 
I am facing below error whenever trying to activate OOB Real-Time workflow, Business Process Flow(BPF).
 
Error: Method not found: 'System.IServiceProvider Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection)'. If you contact support, please provide the technical details.
 
Any insights or suggestions to resolve this issue would be greatly appreciated!
Thank you
Categories:
  • Suggested answer
    Daivat Vartak (v-9davar) Profile Picture
    7,336 Super User 2025 Season 1 on at
    Turn on OOB workflow failed. Method not found error.
    Hello Inkey Solutions,
     

    The error message "Method not found: 'System.IServiceProvider Microsoft.Extensions.DependencyInjection.ServiceCollectionContainerBuilderExtensions.BuildServiceProvider(Microsoft.Extensions.DependencyInjection.IServiceCollection)'" when activating OOB workflows and BPFs strongly indicates the same underlying issue we discussed previously: an assembly version mismatch within your Dynamics 365 environment.

    Specifically, the error points to a missing method within the Microsoft.Extensions.DependencyInjection library. This library is used by various components within Dynamics 365, including potentially the workflow and Business Process Flow engines, and also the Business Central Virtual Entity feature as seen in the error details of your previous plugin issue.

    Here's why this error is occurring when activating OOB workflows and BPFs:

    • Dependency on Shared Libraries: The workflow and BPF execution processes likely rely on shared libraries within the Dynamics 365 platform. If there's an inconsistency in the versions of these core libraries, particularly Microsoft.Extensions.DependencyInjection, it can lead to these "Method not found" errors.

    • Activation Process: The activation of workflows and BPFs might trigger processes that internally utilize the affected libraries.

    •  

     

    Troubleshooting and Resolution Steps (Same as Before):

    The resolution for this issue is the same as the one for the plugin deletion problem you encountered:

    1. Verify Environment Version: Check the exact cumulative update version of your problematic Dynamics 365 environment by going to Settings > About. Compare this version with a working Dynamics 365 environment (if you have one). They should ideally be the same.

    2. Ensure Consistent Cumulative Update: If the versions are different, the most likely solution is to bring the problematic environment to the same cumulative update level as a healthy environment. You will need to schedule an update through the Power Platform Admin Center.

    3. Investigate Business Central Integration (Again): Even if you are not actively using Business Central Virtual Entities, the underlying components might be installed and causing this dependency issue. Review any Business Central related configurations or connections in your environment.

    4. Contact Microsoft Support (Recommended): Given that this is a system-level assembly mismatch affecting core platform functionality, opening a support ticket with Microsoft is highly recommended. Provide them with the error details and the steps you've already tried. They have the necessary tools and insights to diagnose and resolve these types of environment-level inconsistencies.

       


    5.  

    Why This Wasn't Happening Before (Potentially):

    • Timing of the Issue: The assembly mismatch might have been introduced by a recent background update or a failed deployment of another component.

    • Specific Trigger Points: The activation of workflows and BPFs might trigger the use of the affected libraries in a way that other operations you were performing previously did not.


    •  

    In summary, the "Method not found" error when activating OOB workflows and BPFs points to the same underlying assembly version conflict, likely related to Microsoft.Extensions.DependencyInjection and potentially influenced by the Business Central Virtual Entity components. Ensuring your environment is on the correct and consistent cumulative update is the most probable solution. If that doesn't work, reach out to Microsoft Support for further assistance.

     
    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
  • Suggested answer
    Tom_Gioielli Profile Picture
    1,543 on at
    Turn on OOB workflow failed. Method not found error.
    Open the BPF process to review it. Do you have any actions that are attempted to be called as you enter or exit a stage? If so, you will want to validate that those actions are available and turned on or you may receive an error.
     
     
  • Suggested answer
    Holly Huffman Profile Picture
    6,078 on at
    Turn on OOB workflow failed. Method not found error.
    Good morning, afternoon, or evening depending on your location!
     
    It looks like this error is related to a missing or incompatible dependency in Microsoft.Extensions.DependencyInjection when activating an OOB Real-Time Workflow or Business Process Flow (BPF) in Dynamics 365. Based on similar cases, here are some steps to troubleshoot and resolve the issue:
    Possible Causes & Solutions
    1. Check Plugin Dependencies
      • The error suggests that a plugin or workflow step is referencing a method that is missing or incompatible.
      • Verify if any custom plugins or third-party solutions are interfering with the workflow activation.
    2. Update Dynamics 365 & Dependencies
      • Ensure that your Dynamics 365 environment is running the latest updates.
      • If using Power Platform, check for any pending updates in Dataverse or Power Automate.
    3. Review Workflow Configuration
      • If the workflow was recently modified, try reverting to a previous version or recreating it from scratch.
      • Check if the workflow is referencing an unsupported entity or field.
     
     
    Hope this helps some!

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Adis Hodzic – Community Spotlight

We are honored to recognize Adis Hodzic as our May 2025 Community…

Kudos to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Microsoft Dynamics 365 | Integration, Dataverse, and general topics

#1
Siv Sagar Profile Picture

Siv Sagar 149 Super User 2025 Season 1

#2
Daivat Vartak (v-9davar) Profile Picture

Daivat Vartak (v-9d... 53 Super User 2025 Season 1

#3
Vahid Ghafarpour Profile Picture

Vahid Ghafarpour 32 Super User 2025 Season 1

Overall leaderboard

Product updates

Dynamics 365 release plans