web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Flow not triggered aft...
Power Automate
Unanswered

Flow not triggered after new files are created OneDrive for Business

(0) ShareShare
ReportReport
Posted on by 6

Hi,

 

I have created a basic flow when the following parts:

- When a file is created (One Drive business)

- Send an email V2 (outlook 365)

 

The file part has a recurrence of 5 minutes. Now when I copy 10 files simultaneously into the One Drive folder, after an hour waiting I'm still not receiving an email, while the Test worked within 10 minutes of waiting. Any ideas what's happening and I'm not seeing the email as expected? Does it have to do with the 10 files at once?

I have a Office 356 Standard plan by the way.

Regards,


p.s.
Code view:  When a file is created.

 

{
 "inputs": {
 "host": {
 "connectionName": "shared_onedriveforbusiness",
 "operationId": "OnNewFileV2",
 "apiId": "/providers/Microsoft.PowerApps/apis/shared_onedriveforbusiness"
 },
 "parameters": {
 "folderId": "lef out due to privacy",
 "includeSubfolders": true,
 "inferContentType": true
 },
 "authentication": "@parameters('$authentication')"
 },
 "recurrence": {
 "interval": 5,
 "frequency": "Minute"
 },
 "metadata": {
 "left out due to pricavy"
 }
}

 

 

Code view for Send an email V2

 

{
 "inputs": {
 "host": {
 "connectionName": "shared_office365",
 "operationId": "SendEmailV2",
 "apiId": "/providers/Microsoft.PowerApps/apis/shared_office365"
 },
 "parameters": {
 "emailMessage/To": "left out due to privacy",
 "emailMessage/Subject": "left out due to privacy",
 "emailMessage/Body": "left out due to privacy",
 "emailMessage/Cc": "left out due to privacy",
 "emailMessage/Attachments": [
 {
 "Name": "@triggerOutputs()?['headers/x-ms-file-name-encoded']",
 "ContentBytes": "@triggerOutputs()?['body']"
 }
 ]
 },
 "authentication": "@parameters('$authentication')"
 }
}

 

 

Categories:
I have the same question (0)
  • mequan Profile Picture
    on at

    Hi @morrowyn ï¼Œ

     

    Actually it would be OneDrive API limitation. When we copy file to the other folder in onedrive, it will not be identified as modified in OneDrive and so it will not trigger flow. But if you copy file from the folder out of OneDrive, it would be triggered.

     

    Thanks

  • morrowyn Profile Picture
    6 on at

    Hi,

    I copy the files from a folder outside of OneDrive into a folder inside OneDrive. So I'm kind of stuck now using this. I'm using the OneDrive folder through Windows Explorer by the way.

     

    Regards,

  • mequan Profile Picture
    on at

    Hi @morrowyn ,

    May you try to copy file to onedrive folder from Browser , not from local PC?

    Thanks

  • morrowyn Profile Picture
    6 on at

    Hi,

    That seems to work. When I copy just one file from windows explorer it seems to work as well. So what's the difference here?

    Regards,

  • Verified answer
    mequan Profile Picture
    on at

    This would be know limitation of onedrive API. It sometimes will not mark onedrive is modified when we copy file in Onedrive from local PC. If you want to know more please open case to check what blocks you update onedrive folder status.

    Thanks

  • morrowyn Profile Picture
    6 on at

    Hi,

    Where do I open up a case for this?


    Regards,

  • mequan Profile Picture
    on at

    Hi,

    Please log in https://admin.powerplatform.microsoft.com/ and click on help+support.

     

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard