Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Answered

Flow - Cannot create a new quote with Power Automate

(0) ShareShare
ReportReport
Posted on by Most Valuable Professional

Hi, I am having some issues with a flow that hasn't been edited but has just stopped working. Recently I have updated from PSA to Project Operations which I don't know if is causing any issues.

the flow step for add a new row against entity 'quotes' is failing with the error 'object reference not set to an instance of an object.

This is the full error. Does anyone have any ideas? I wonder if the highlighted plugin is causing issues. This plugin isn't present in our environment, I have not been able to find it. I don't know if it was removed in the deprecated components solution for PSA and now this is causing an issue.

any help is greatly appreciated.

{
  "error": {
    "code""0x80040224",
    "message""Object reference not set to an instance of an object.",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionSourceKey": "Plugin/Microsoft.Dynamics.ProjectService.Plugins.PreValidateQuoteCreate",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepKey""REMOVED WHEN PASTING",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiDepthKey""1",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiActivityIdKey": "REMOVED WHEN PASTING",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiPluginSolutionNameKey""ProjectService",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiStepSolutionNameKey""ProjectService",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionCategory""ClientError",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionMessageName""IsvUnExpected",
    "@Microsoft.PowerApps.CDS.ErrorDetails.ApiExceptionHttpStatusCode""400",
    "@Microsoft.PowerApps.CDS.HelpLink""">go.microsoft.com/.../,
    "@Microsoft.PowerApps.CDS.TraceText""\r\n[Microsoft.Dynamics.ProjectService.Plugins: Microsoft.Dynamics.ProjectService.Plugins.PreValidateQuoteCreate]\r\n[d679c085-f479-ea11-a821-000d3a74122c: Project Service - PreValidateQuoteCreate]\r\nEntered Microsoft.Dynamics.Sales.Plugins.PreValidateQOIEntityCreate.Execute(), Correlation Id: 5ab53c8b-f683-4b8f-b10a-c833ce144561, Initiating User: a9824c26-81b9-ec11-983f-000d3ab54590\r\nExiting Microsoft.Dynamics.Sales.Plugins.PreValidateQOIEntityCreate.Execute(), Correlation Id: 5ab53c8b-f683-4b8f-b10a-c833ce144561, Initiating User: a9824c26-81b9-ec11-983f-000d3ab54590\r\n",
    "@Microsoft.PowerApps.CDS.InnerError.Message""Object reference not set to an instance of an object."
  }
}
  • Lewis B Profile Picture
    Most Valuable Professional on at
    RE: Flow - Cannot create a new quote with Power Automate

    Logged a support ticket

    Thank you so much for your help Bipin!

  • Suggested answer
    Bipin D365 Profile Picture
    28,977 Moderator on at
    RE: Flow - Cannot create a new quote with Power Automate

    Hi,

    You should lodge Microsoft support ticket as this is a system plugin which is provided by Microsoft.

    We don't have access to source code of this plugin to know the features.

  • Lewis B Profile Picture
    Most Valuable Professional on at
    RE: Flow - Cannot create a new quote with Power Automate

    Thank you so much Bipin - This has now worked.

    Out of interest, do you know what potential other implications there might be from disabling this plugin? What else does it do that could cause issues now? Or what kind of features could break?

  • Suggested answer
    Bipin D365 Profile Picture
    28,977 Moderator on at
    RE: Flow - Cannot create a new quote with Power Automate

    HI,

    Please try from Plugin registration tool.

    You can download Tool from below location OR use XRMTOOLBOX

    https://xrm.tools/

  • Lewis B Profile Picture
    Most Valuable Professional on at
    RE: Flow - Cannot create a new quote with Power Automate

    I can find the event handler by filtering SDK message processing steps by this column and then entering the plugin name as outputted by flow. But it can't then find an SDK message processing step

    pastedimage1654079478990v1.png

    Can confirm environment I'm searching in is the same as where the flow is held

  • Verified answer
    Bipin D365 Profile Picture
    28,977 Moderator on at
    RE: Flow - Cannot create a new quote with Power Automate

    Hi,

    Yes, Highlighted plugin is causing this issue. Have you tried finding the Plugin step using Plugin registration tool OR by navigating to Settings->Customization -> Customize the system -> SDK message Processing steps

    You will need to disable this step to see if it works in case you are able to find.

    I hope you are searching plugin step in correct Environment where you are trying to create Quote from Flow. Check the Flow Create Quote Action to see if it is connectin to correct instance by clicking on ... button on flow action.

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 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,110 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,866 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans