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 :
Microsoft Dynamics CRM (Archived)

Notify Via Mail when roles & Permission changed

(0) ShareShare
ReportReport
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

I have the same question (0)
  • Suggested answer
    Kishor Kumar Profile Picture
    3,710 on at

    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

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    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

  • Community Member Profile Picture
    on at

    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
    Syed Ibrahim Profile Picture
    6,257 on at

    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)

  • Suggested answer
    Syed Ibrahim Profile Picture
    6,257 on at

    thanks panidhar. pls find my query below.

  • Suggested answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    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.

  • Verified answer
    RaviKashyap Profile Picture
    55,410 Moderator on at

    Check this blog as well-

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

    Hope this help

  • Syed Ibrahim Profile Picture
    6,257 on at

    hey thanks bro. Will try to implement the same.

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 > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans