Skip to main content

Notifications

Customer experience | Sales, Customer Insights,...
Answered

Event Management: Prevent certain email domains from registering

(0) ShareShare
ReportReport
Posted on by 10

Hi Guys,

Is there a way to automatically prevent people working for our competitors registering for an event? Exlude them if they enter a certain company name into that box on the form or if they have a certain email domain name?

Thanks, Simon

  • Simon Radford1 Profile Picture
    Simon Radford1 10 on at
    RE: Event Management: Prevent certain email domains from registering

    Hi Guys,

    Thanks for the help, certainly having initial measures in place to automate the process would be useful as Clofly outlined, but we would definitely need to manually check through registrants as well (cross reference against LinkedIn accounts for example)

    Thanks, Simon

  • Verified answer
    ShravanSuri Profile Picture
    ShravanSuri 1,255 on at
    RE: Event Management: Prevent certain email domains from registering

    Hey Simon,

    Limiting event registrations based on certain content in the registration information is not currently supported OOB. However, Clofly's reply should get you started in terms of building the exact logic that works for your business.

    Please note that malicious competitors can also simply put in any email ID (including a temporary one) and any company name to bypass such restrictions. An automatic check can only solve for certain scenarios. Another way to ensure a strict checking of all event registrations is to manually verify each registration as it comes in, and deactivate the malicious/competitor registrations. Would this scale to your number of events and number of registrations per event.

    Hope this helps!

    Shravan Suri

    PM, D365 Marketing

  • Verified answer
    cloflyMao Profile Picture
    cloflyMao 25,202 on at
    RE: Event Management: Prevent certain email domains from registering

    Hi Simon,

    Please refer to my solution, it uses a flow to check whether email of new contact is in black list, if exists, delete contact and its event registration.

    Part 1:

    Create a custom text field "Domains to reject" to Event entity.

    pastedimage1602667185092v1.png

    Part 2:

    Trigger a flow on creation of Event Registration.

    1. Retrieve the corresponding contact of event registration to get submitted email by contact.

    2. Retrieve the corresponding event of event registration to get domains of black list.

    3. Spilt domains value into an array with following expression:

    split(encodeUriComponent(outputs('Get_record')?['body/new_rejected_domains']),'
    ')

    The value of the sample will be in array format: [gmail.com,yandex.com,yahoo.com

    pastedimage1602667687018v2.png

    We need an extra action to convert the output into real array variable.

    pastedimage1602667851397v3.png

    4. Extract email domain from email field of contact.

    last(split(outputs('Get_contact')?['body/emailaddress1'],'@'))

    pastedimage1602667992686v4.png

    If the submitted value is clofly@gmail.com, then the extracted value will be gmail.com.

    5. Initialize a new string variable, append the item of email array to the string.

    pastedimage1602668378838v5.png

    The ouput of string will be gmail.comyandex.comyahoo.com

    6. Check whether mailbox of contact is in the list, if contains, delete the contact, then delete the event registration.

    pastedimage1602668526263v6.png

    The total process is complex, therefore, I only give screenshots of important steps, please feel free to ask question if you encountered any problem when configuring the flow.

    Regards,

    Clofly

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

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Vahid Ghafarpour – Community Spotlight

We are excited to recognize Vahid Ghafarpour as our February 2025 Community…

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,979 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 230,848 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans