Hi @HenryJammes,
Let me share my details here:
My adaptive card:
{
"type": "AdaptiveCard",
"$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
"version": "1.0",
"body": [
{
"type": "TextBlock",
"size": "medium",
"weight": "bolder",
"text": "Update or Upgrade Device and Policy Details",
"horizontalAlignment": "center",
"wrap": true,
"style": "heading"
},
{
"type": "Input.Text",
"label": "Policy number",
"style": "text",
"id": "PolicyNumber",
"isRequired": true,
"errorMessage": "Policy Number is required"
},
{
"type": "Input.Text",
"label": "First name",
"style": "text",
"id": "FirstName",
"isRequired": true,
"errorMessage": "First Name is required"
},
{
"type": "Input.Text",
"label": "Last name",
"style": "text",
"id": "LastName",
"isRequired": true,
"errorMessage": "Last Name is required"
},
{
"type": "Input.Text",
"label": "Email",
"style": "email",
"id": "Email",
"isRequired": true,
"errorMessage": "Email is required"
},
{
"type": "Input.Text",
"label": "Phone Number",
"style": "tel",
"id": "PhoneNumber"
},
{
"type": "Input.Text",
"label": "What's your device maker? (E.g. Apple, Samsung, LG)",
"style": "text",
"id": "PhoneMaker",
"isRequired": true,
"errorMessage": "Phone maker is required"
},
{
"type": "Input.Text",
"label": "What's your device model? (E.g. S20, Pro, Mini)",
"style": "text",
"id": "PhoneModel",
"isRequired": true,
"errorMessage": "Phone Model is required"
},
{
"type": "Input.Text",
"label": "What's your device memory capacity? (E.g. 128Gb, 256Gb, 1Tb)",
"style": "text",
"id": "MemoryCapacity",
"isRequired": true,
"errorMessage": "Memory capacity is required"
},
{
"type": "Input.Date",
"label": "Device purchase date",
"id": "PurchaseDate",
"style": "date",
"isRequired": true,
"errorMessage": "Purchase date is required"
},
{
"type": "Input.Text",
"label": "Where did you purchase your device?",
"style": "text",
"id": "PurchasePlace",
"isRequired": true,
"errorMessage": "Purchase place is required"
},
{
"type": "Input.Text",
"label": "What's your device IMEI number? (Press *#06# on your phone keyboard to find out)",
"style": "text",
"id": "ImeiNumber",
"isRequired": true,
"errorMessage": "IMEI number is required"
},
{
"type": "Input.Text",
"label": "Is there anything else would you like to add?",
"style": "text",
"isMultiline": true,
"isRequired": true,
"errorMessage": "Message is required",
"placeholder": "Your message here",
"id": "Message"
}
],
"actions": [
{
"type": "Action.Submit",
"title": "Submit",
"data": {
"id": "1234567890"
}
}
]
}
![2023-10-09 14.45.18 web.powerva.microsoft.com 2ac24c4f8407.png 2023-10-09 14.45.18 web.powerva.microsoft.com 2ac24c4f8407.png](/_api/msdyn_richtextfiles%28288074B0-4731-4C03-A8C7-D7D9DA0D796F%29/msdyn_imageblob/$value?size=full)
My flow:
![2023-10-09 14.13.46 make.powerautomate.com 302973a50cc6.png 2023-10-09 14.13.46 make.powerautomate.com 302973a50cc6.png](/_api/msdyn_richtextfiles%28A5D30455-AAFB-4B06-B442-82F4F392FC6A%29/msdyn_imageblob/$value?size=full)
![2023-10-09 14.14.02 make.powerautomate.com 393a6103b7c4.png 2023-10-09 14.14.02 make.powerautomate.com 393a6103b7c4.png](/_api/msdyn_richtextfiles%283DF32D91-054D-4385-8F82-872713D4B474%29/msdyn_imageblob/$value?size=full)
![2023-10-09 14.14.13 make.powerautomate.com 74ea3e2b9f0c.png 2023-10-09 14.14.13 make.powerautomate.com 74ea3e2b9f0c.png](/_api/msdyn_richtextfiles%28C85A0B79-49E4-419A-B3AF-49BE9FC2A6B5%29/msdyn_imageblob/$value?size=full)
![2023-10-09 14.14.25 make.powerautomate.com a122a78e7b66.png 2023-10-09 14.14.25 make.powerautomate.com a122a78e7b66.png](/_api/msdyn_richtextfiles%2803C1C83A-7A8D-4B41-9A05-831731C729A5%29/msdyn_imageblob/$value?size=full)
So, when I choose the date on the adaptive card:
![2023-10-09 14.17.31 web.powerva.microsoft.com 44223a3e1d7f.png 2023-10-09 14.17.31 web.powerva.microsoft.com 44223a3e1d7f.png](/_api/msdyn_richtextfiles%286CCDA7D4-BFE5-4428-8BB0-B55E8C99C86C%29/msdyn_imageblob/$value?size=full)
I receive the email of the request with the data the user input on the adaptive card which is:
Phone number: 07666666666
Phone maker: Mango
Phone model: M20
Phone memory capacity: 12Tb
IMEI number: 123456
Purchase date: 30/09/2023
Purchase place: Currys
As you can see, the date that I chose on the adaptive card is 01/10/23 and the date that passed through the flow and onto the email is 30/09/23.
First Output that comes from PVA onto PA
![2023-10-09 14.35.46 make.powerautomate.com 16bf8bee9d6b.png 2023-10-09 14.35.46 make.powerautomate.com 16bf8bee9d6b.png](/_api/msdyn_richtextfiles%2879DCE5FF-E0DF-4E2D-A56C-591F7B3A0F38%29/msdyn_imageblob/$value?size=full)
So, how that happen?
I can't change the environment to the US as all our systems use UK environment.
If I take the date formula out, it doesn't make any difference
The issue here is that it's always getting a day before when there is a date pick selection.
On the classic version it works fine, but not on the new canvas.
Cheers,
Fernando