Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Answered

How to restrict the Opportunity Closed as Won and Closed as Lost buttons

Posted on by 2,645

How can I go about restricting users to not be able to click on Closed as Won button within an Opportunity.  Everyone can click on Close as Lost, so the restriction is just around Closed as Won.  I want only a certain group to be able to have access to click Closed as Won.

Would like to do this as a flow if possible.  Not sure though.

  • Suggested answer
    Bipin D365 Profile Picture
    Bipin D365 28,964 Super User 2024 Season 1 on at
    RE: How to restrict the Opportunity Closed as Won and Closed as Lost buttons

    Hi,

    I don't think you will be able to achieve your requirement using Flow.

    As suggested in above post, you would need to write Js or use entity privilege rule to control the visiblity of the button.

    Please mark my answer verified if i were helpful

  • Verified answer
    RE: How to restrict the Opportunity Closed as Won and Closed as Lost buttons

    How about customizing a close and setting a security group for that entity?

    docs.microsoft.com/.../customize-opportunity-close-experience

    docs.microsoft.com/.../enable-opportunity-close-customization

  • Verified answer
    Mahendar Pal Profile Picture
    Mahendar Pal 45,095 on at
    RE: How to restrict the Opportunity Closed as Won and Closed as Lost buttons

    Hi,

    Most of the times these types of requirement controlled by the use of security role, you can create a specific security role and keep user whom you want to allow in that specific security role. Once done you can hide this button based on the security role, please check following post for the step by step

    You can use this approach where you need to set custom entity and you can hide it based on that

    goutamdascrm.wordpress.com/.../

    Or you can use this approach where you need to write js code

    allaboutdynamics365.in/.../

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans