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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Suggested Answer

Restricting who users can email

(0) ShareShare
ReportReport
Posted on by 479

Hi,

I'm just wondering how and if it is possible to restrict who some of our Users can email.

We have 2 separate apps, one for Sales and one for our Technical Support team. Our Sales team should be able to email any Contacts within our system and that is currently the case, but our Tech Support team can also email anyone in our System too. To limit data breaches, I would like to restrict our Tech Support team to be only able to email Contacts who have a specific status in their Contact record, e.g. their Contact Type is 'Student' or 'Staff'.  

I am not sure how or where to add the restriction. Is it a case of who is the owner of the Contact, i.e Tech Support can only email Contacts owned by Tech Support, or is there a way to restrict it within the email entity, or could we apply the restirction within the Business Unit or Team?

Thanks as always.

Ted

I have the same question (0)
  • LuHao Profile Picture
    40,892 on at

    Hi Ted,

    Yes, we can use a real-time workflow to restrict Technical Support team to send email only to specific contacts.

    But we meed to figure out how to distinguish whether a user belongs to Technical Support team.

    Is a team lookup field on the user or other field? Or just add users to a owner team?

  • TedW Profile Picture
    479 on at

    Hi Hao,

    Yes, I am looking to bulk change a number of Contacts so that their owner is then Technical Support. Currently most of the Contacts are owned by Sales. I know how to change the owner.

    How would I then go about creating the workflow? I know how to create a workflow but not sure on what steps or logic would be applied to it.

    Thanks

  • LuHao Profile Picture
    40,892 on at

    Hi Ted,

    In the workflow, we need to add a condition to determine whether the Owner is Technical Support.

    So we need to understand how to add a user to the Technical Support Team in your environment. Is there an owner team named Technical Support?

    pastedimage1615305301237v1.png

  • TedW Profile Picture
    479 on at

    Hi Hao,

    Yes there is already a team called Technical Support. That is already set up and configured with the correct Users.

    Thanks a lot

    Ted

  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    You can restrict record access using BU, but if you only want to restrict email functionality, possible option could be implement this using development restrict user to select only contact which have that specific status from the To lookup, or plugin for this validation.

  • LuHao Profile Picture
    40,892 on at

    Hi Ted,

    I have tried several OOTB methods, but none of them can achieve this requirement perfectly.

    At first I tried to create a field for the User entity to indicate whether it belongs to Technical Support Team, but power automate cannot be triggered on teammembership, so this path does not work.

    Anyway, you have to write a plugin.

  • TedW Profile Picture
    479 on at

    HI Mahen,

    I have already restricted Contacts using filtered in the indexed search and that appears to be working ok, they can only search for Contacts who have a particular status or email address.

    So just to confirm, you think thic sould only be done using development?

    Many Thanks

  • Suggested answer
    Mahendar Pal Profile Picture
    45,095 on at

    Hi,

    Surely plugin can help you to control this and throw error if condition is not fulfilled.

  • LuHao Profile Picture
    40,892 on at

    Hi Ted,

    The difficulty of restricting email creation through real-time workflow is that there is no way to detect whether the contact’s Owner is a Technical Support Team member.

    I think the only way to do this without coding is to make the Owner of Contacts to be Technical Support team, not the user of Technical Support team.

    pastedimage1615454318126v1.png

    Do you accept this solution?

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Congratulations to our 2025 Community Spotlights

Thanks to all of our 2025 Community Spotlight stars!

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
ManoVerse Profile Picture

ManoVerse 189 Super User 2026 Season 1

#2
CU11031447-0 Profile Picture

CU11031447-0 100

#3
NeerajPawar Profile Picture

NeerajPawar 66

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans