Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

RegEx element value validation for Logic App escaping from Json to XML

Recently we blocked the execution of Json schema pattern in Azure Logic Apps Parse Json action because of DoS security concerns. The matching XML XSD schema pattern feature however is available. Because of the per-customer sandbox environment in which the XML validation is executed for Logic Apps, we did not have to block use of XSD pattern. And Logic App supports converting Json to XML (native function xml()).

You may test this using the example XML schema and instance at: https://msdn.microsoft.com/en-us/library/ms256129(v=vs.110).aspx

A sample Logic App using XML schema pattern regex in XML Validation action.

Remember to associate the Logic App with an Integration Account (try the free SKU) prior to add the XML Validation action, as you will need the XML schema uploaded in the associated Integration Account.

Share the post

RegEx element value validation for Logic App escaping from Json to XML

×

Subscribe to Msdn Blogs | Get The Latest Information, Insights, Announcements, And News From Microsoft Experts And Developers In The Msdn Blogs.

Get updates delivered right to your inbox!

Thank you for your subscription

×