I have a Microsoft Flow which i want to insert a record into a Azure SQL table, I am having trouble inserting a GUID which is generated from the trigger.
The field I am mapping from appears to be a GUID format when i inspect it however when the flow executes it looks as though the GUID is being converted to a string before being pushed to SQL, which is causing the below conversion error on execution (the destination field in uniqueidentifier type):
{
"status": 400,
"message": "Microsoft SQL: Conversion failed when converting from a character
string to uniqueidentifier.\r\nclientRequestId: c3c1acb7-ca1a-443a-ab66-
4a42ad0d28b1",
"source": "sql-ae.azconn-ae.p.azurewebsites.net"
}
Example of source field output: "bookableresourcebookingid": "bd403e0b-0337-e911-a86b-000d3ad11148"
I have had a look through the documentation here for GUID conversions however they all seem to output a new GUID as a string instead of doing what i want which is to input the GUID ID into the SQL table as a unique identifier.
How can I input this GUID ID field into the SQL destination unique identifier field/ convert the GUID string to a unique identifier?