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 :
Customer experience | Sales, Customer Insights,...
Suggested answer

Close Quote using Power Automate

(4) ShareShare
ReportReport
Posted on by 10
Hello,
 
Has anyone got any experience of closing quotes via Power Automate. 
 
I have successfully created the Close Quote Activity, but when the action Update a Row - Close Quote is run I am receiving the error message:
 
'This message can not be used to set the state of quote to Closed. In order to set state of quote to Closed, use the CloseQuoteRequest message instead.\'
 
From research this seems to be C# development into the Dataverse SDK to trigger an API call to run CloseQuoteRequest. 
 
Just wondering if anyone has had any other experience? 
 
Many thanks
 
 
 
I have the same question (0)
  • Suggested answer
    scardosoo Profile Picture
    6 on at
    Close Quote using Power Automate

    Hello,

    I found a solution after investigating the issue.

    It turns out that the "Perform unbound action" connector for "CloseQuote" action wasn’t working as expected because it wasn’t reading the metadata correctly. To better understand the issue, I analyzed the request that is sent when closing a quote from the ribbon in the UI. Based on that, I discovered the correct and expected JSON payload structure:

    {
      "QuoteClose": {
        "actualend": "2025-06-25T16:54:22.286Z",
        "quoteid@odata.bind": "/quotes(<QUOTE_GUID>)",
        "subject": "Quote Closed ({0}) - {1}",
        "description": null,
        "quotenumber": "<QUOTE_NUMBER>",
        "revision": 1,
        "ownerid_quoteclose@odata.bind": "/systemusers(<USER_GUID>)"
      },
      "Status": 6
    }
     

    So, if there's an error when invoking the CloseQuote action due to metadata not being properly read, you need to manually pass the action parameters as shown above.

    In Power Automate, configure the action as follows:


    • Action Name: trim('CloseQuote')
    • Action Parameters: (use the JSON structure above)

    This should resolve the error: "This message cannot be used to set the state of quote to Closed. In order to set state of quote to Closed, use the CloseQuoteRequest message instead."

    Let me know if everything worked as expected.

    Best regards,
    Samuel Cardoso

  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at
    Close Quote using Power Automate
    Let us know if you need any help.
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at
    Close Quote using Power Automate
    Hello User,
     
    Please refer below article which will help you to implement your requirement.
     
    Reference:
     
    Refer below article for C# code:
     
    Thank you,
    Amit Katariya
  • CU08011852-0 Profile Picture
    4 on at
    Close Quote using Power Automate
    Hey, hope you doing well!
     
    I recently came to this very same problem other day, and I managed to solve with this solution:
     
     
    In short, differently from the opportunity close type of activity, quote closes need another way to close then. This tutorial seem to manage this by creating a Bound Action to Cases that just encloses then. I did the same with the quotations and it worked very fine. So, hope this helps!
     
    PS: I also tried calling the CloseQuote plugin, but I failed too, this method above was more straightforward.

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…

Andrés Arias – Community Spotlight

We are honored to recognize Andrés Arias as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Daniyal Khaleel Profile Picture

Daniyal Khaleel 173

#2
Rishabh Kanaskar Profile Picture

Rishabh Kanaskar 106

#3
Tom_Gioielli Profile Picture

Tom_Gioielli 71 Super User 2025 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans