Loading...

Power Apps : Smart Email Address Validation

Power Apps : Smart Email Address Validation
Power Apps : Smart Email Address Validation Stephane Pelhatre Mon, 06/17/2024 - 13:47
Body

Power Apps : Smart Email Address Validation

Introduction

Traditionally, the existing Email column type has only basic email validation: a valid email address consists of an email prefix (left part of @ symbol) and an email domain (right part of @ symbol). So it is a very basic validation.
With smart Email address validation, the Email column comes with better validation that includes reasons for the column being invalid.

Smart Email address validation detects the following issues:

  • Incorrect syntax: For example, an address that doesn't contain both a username and an email domain.
  • Disposable domain: An address that contains a known disposable or temporary email domain.
  • Test or spam email addresses: An address that contains known indicators of a test or spam address in the email header or metadata, IP address, HTML code of the email, and email content and formatting.
  • Expired email addresses: This is an email account that has expired and can no longer receive or send email.
  • Emails that bounce back: This is an address that can't receive a message for any reason other than being expired.

Note that this feature went into public preview in October 2022 and it is still in preview in June 2024. So it has been in preview for a long time.

Prerequisites

  • The Data validation Power Platform environment setting must be enabled.
    The feature must also be enabled in the model-driven app.
    See below for activation in Power Platform environment  and in model-driven app.
  • Smart Email address validation only performs validation on text columns with the Email format type.
    For example, the Email or Email Address 2 columns for the account table.
  • Smart Email address validation is supported only by model-driven apps. It is not supported by Canvas apps.

Enable Smart Email Address Validation

You first have to enable setting Data validation in your Power Platform environment. By default this setting is disabled.
Connect to Power Platform Admin Center (https://admin.powerplatform.microsoft.com/environments) , select the environment for which you want to enable Data Validation and click on Settings in the command bar.

Power Apps : Smart Email Address Validation


Then expand Product section and go to Features.

Power Apps : Smart Email Address Validation

Then scroll down until you find Data Validation option. It is turned off by default.

Power Apps : Smart Email Address Validation

Turn it on and click on Save.

Power Apps : Smart Email Address Validation

But it is not finished... You need to enable the feature in your model-driven app.
So connect to https://make.powerapps.com/ and open your app in the App Designer.
Click on Settings in the command bar and then go to Upcoming features in the Settings list on the left side.
Scroll down until you see Email Smart Email Address Validation Control. It is disabled by default.

05

Turn the feature on and click on Save.

06

And finally do not forget to publish your app.

That's OK now, smart email address validation is enabled for your app.
If you want to enable this feature for multiple model-driven apps, you’ll need to follow previous steps for each app.

Email validation in practice

As an example I consider column 'Email' in table Account.

When you enter data in 'Email' column, it’s validating on the fly.
You don’t have to wait for the record to be saved. As soon as the email address column has data, the verification will run and show the result.

During the validation you will get the message 'Validating email address...'.

Power Apps : Smart Email Address Validation

Below the result with the value '[email protected]'.

08

Another result with a different Email address.

09

And the result with a disposable Email address.

Power Apps : Smart Email Address Validation

And the result with an error in the domain name.

Power Apps : Smart Email Address Validation

Remarks

A few remarks:

  • Smart email address validation works with quick create forms.
  • If an email address is showing as an invalid address, user can still save the record with the invalid email address. So it is only a warning.
  • If you open a record with an invalid email address there is no visual warning to indicate that the email address is invalid.
    You will see whether or not there is an issue with an email address when you enter an email address, but not when you open a record.

Power Apps : Smart Email Address Validation

Published on:

Learn more
Featured Articles | Dynamics Chronicles
Featured Articles | Dynamics Chronicles

Welcome to our blog, the content is entirely dedicated to Microsoft Dynamics 365, CRM, Power Platform, Common Data Service (CDS) but also Azure. Follow us !

Share post:

Related posts

How to Enhance Agent Transparency in Power Apps Using Agent Feed

As more makers start adopting supervised agents in Power Apps, one question comes up frequently: “How do I know what my agents are doing behin...

1 day ago

Power Pages Fundamentals #25: How to Connect Power Pages to Microsoft Fabric Using Power Apps Virtual Tables (Step-by-Step): Quick Read Series

During my discussion with community members, few of them approached me whether we can use Microsoft fabric and show the data in their websites...

2 days ago

10 Game-Changing Power Apps Use Cases for Businesses in 2026

As organizations move deeper into automation, AI integration, and process digitization, Microsoft Power Apps has evolved from a low-code tool ...

5 days ago

Automated Testing Power Apps – Controls and More

A while back I wrote an introduction post about automated testing Power Apps using Power Automate Desktop. Today, I'm going to look at automat...

6 days ago

Power Apps – Upcoming changes to license consumption experience

We are introducing updates to the Power apps license consumption experience designed to improve Power Apps licensing management. These changes...

7 days ago

Power Apps – Add AI record summary to model-driven apps

We are announcing the ability to add an AI record summary to model-driven apps in Power Apps. This feature will reach general availability on ...

7 days ago

Power Apps Code App: Integrate with Power Platform Connectors

In my last blog post on Power Apps Code Apps, I explained how to create a simple Code App and publish it to a Power Platform environment. In t...

8 days ago

Building a Cloud-Native Power Apps ALM Pipeline with GitLab, Google Cloud Build and PAC CLI: Streamlining Solution Lifecycle Automation

A unique combination to achieve deployment automation of Power Platform Solutions

10 days ago

Set the custom publisher on your Vibe coded Power Apps

Have you tried out the new Vibe coding at vibe.powerapps.com? Did you notice that your solutions will use the default publisher?

11 days ago
Stay up to date with latest Microsoft Dynamics 365 and Power Platform news!
* Yes, I agree to the privacy policy