cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

MS Flow from OneDrive to SQL Server, add file created date

Good Day,

 

I have created a MS FLow that watches an OneDrive for Business folder and adds the JSON files to a SQL Server database.  I started by using the template available from MS which uses Date=utcNow().

 

Under Dynamic Content  there are options for File Content, File Content Type, File Entity Tag, File Identifier, File Name and File Path however nothing seems to show the datetime the file itself was created.

 

Is there a workaround I can use?

2 REPLIES 2
Highlighted
Community Support
Community Support

Hi @ Dgc,

 

Could you please share a screenshot of the configuration of your flow?

 

What is the trigger in your flow? Is it "When a file is created" ?

Do you want to get the file's create time when a file is created?

 

If you want to get the file's create time when a file is created, you could add an action "Get file metadate" ,and the choose the "Last modified time" dynamic content of the action "Get file metadate".

 

Please refer to screenshot below to create the flow:

Capture.PNG

 

Please let me know if your issue could be solved.

 

 

Regards,
Alice Zhang

Highlighted

Hi Alice,

 

I'd like to get the date/time the file was created not the 'Last Modified Time' is that possible?

Helpful resources

Announcements
Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.

Top Kudoed Authors
Users online (9,668)