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')"
}
}
Solved! Go to Solution.
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
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
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,
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,
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
Hi,
Where do I open up a case for this?
Regards,
The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.
Announcing a new way to share your feedback with the Power Automate Team.
User | Count |
---|---|
4 | |
3 | |
2 | |
2 | |
1 |
User | Count |
---|---|
11 | |
10 | |
6 | |
6 | |
5 |