Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

Notify Via Mail when roles & Permission changed

Posted on by 6,257

Is there any OOB feature to send email notification upon change of user's Security roles and permission? if not which is the best way to do it. If customization required Pls suggest some links for reference

*This post is locked for comments

  • Syed Ibrahim Profile Picture
    Syed Ibrahim 6,257 on at
    RE: Notify Via Mail when roles & Permission changed

    hey thanks bro. Will try to implement the same.

  • Verified answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Notify Via Mail when roles & Permission changed

    Check this blog as well-

    missdynamicscrm.blogspot.com.au/.../utilizing-replaceprivileges-plugin-CSharp.html

    Hope this help

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Notify Via Mail when roles & Permission changed

    Hi Syed,

    For Security role as well, there are plugin messages available for Add, Remove & replace. You can register plugins on these messages on Role entity and notify all the users associated with them.

    msdn.microsoft.com/.../gg334231.aspx

    I hope this helps.

  • Suggested answer
    Syed Ibrahim Profile Picture
    Syed Ibrahim 6,257 on at
    RE: Notify Via Mail when roles & Permission changed

    thanks panidhar. pls find my query below.

  • Suggested answer
    Syed Ibrahim Profile Picture
    Syed Ibrahim 6,257 on at
    RE: Notify Via Mail when roles & Permission changed

    thanks ravi. I know we can get notified when association/Dissociation  of role. How about change in Role permissions(like change in read, write , delete, assign & assign to)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Notify Via Mail when roles & Permission changed

    Hi Syed,

    The back end operation for changing of roles is either associate or disassociate.

    You need to write a plugin that fires on these messages, on user entity.

    Please refer to the below link

    https://community.dynamics.com/crm/b/mylifemicrosoftdynamiccrm/archive/2017/04/09/ms-dynamics-crm-associate-disassociate-message-plugin

    Thanks

    Phanidhar

  • Suggested answer
    RaviKashyap Profile Picture
    RaviKashyap 55,410 on at
    RE: Notify Via Mail when roles & Permission changed

    Hi Syed,

    There isn't any OOB functionality but you can create a plugin to achieve this.

    Check this thread-

    community.dynamics.com/.../161361

    Hope this helps

  • Suggested answer
    Kishor Kumar Profile Picture
    Kishor Kumar 3,702 on at
    RE: Notify Via Mail when roles & Permission changed

    Hi Syed,

    I dont think there is an OOB on sending email on security role/permission change. You can do with workflows,you send mail but onchange security roles event we need to check

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,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,214 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans