Power Automate with Snowflake

Posted by John Liu on Tuesday, March 26, 2024

Configuration

There is a Snowflake connector in Power Platform to connecto to Snowflake database using Snowflake API calls. To be able to use the Snowflake connector, Azure AD (Entra ID) authentication for Snowflake needs to be setup on Snowflake side. Follow Getting started with Power Apps and Snowflake on how to configure the Azure AD authentication for Snowflake.

timestamp value

In Snowflake Power Platform connector, the timestamp_ntz data type represents a timestamp in UTC time zone without time zone offset information. It’s a UNIX timestamp. The common base date for UNIX timestamp is January 1, 1970. Using following query to convert the unix timestamp value to standard date/datetime value in MS SQL.

--17898632.0000 is the unix format value
SELECT DATEADD(SECOND, 17898632.0000, '19700101')