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

Notifications

Announcements

No record found.

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)
  • CU08011852-0 Profile Picture
    4 on at
    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.
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at
    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
  • Suggested answer
    Amit Katariya007 Profile Picture
    10,409 Super User 2025 Season 2 on at
    Let us know if you need any help.
  • Suggested answer
    scardosoo Profile Picture
    6 on at

    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

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
Tom_Gioielli Profile Picture

Tom_Gioielli 170 Super User 2025 Season 2

#2
#ManoVerse Profile Picture

#ManoVerse 61

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 52 Most Valuable Professional

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans