Announcements
Where can I set validation rules for data sources?
Hi @summitb
PowerApps will apply whatever validation rules that you define at the data source. Say you have a SQL Server data source and that you define a max length on a column. If you add a form based on this table, PowerApps will add 'error' labels to the cards and it will enforce this rule when a user attempts to save the record. The same thing applies to SharePoint lists.
There is no mechanism within PowerApps for applying validation rules in PowerApps at the data source level. The other day, @iAm_ManCat posted a method for applying validation at the screen level.
https://powerusers.microsoft.com/t5/General-Discussion/validation-issue/m-p/176993#M58686
Fixed this issue using Plugins to define rules when any transactions happens in an entity.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 358 Most Valuable Professional
11manish 214 Super User 2026 Season 2
Mohsin Ali 185