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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Email when a file changes
Power Automate
Unanswered

Email when a file changes

(0) ShareShare
ReportReport
Posted on by 6
A Power Automate flow was designed to email me when an Excel file from a SharePoint folder is changed, and it is is not working.

The flow starts with step" "Action 'When_a_file_is_modified'", and according to the Flow checker, this is the error:
 
{
  "status"400,
  "message""The file id 'https://company-my.sharepoint.com/:x:/r/personal/name_company_domain/_layouts/15/Doc.aspx?sourcedoc={29AE3A63-2982-4FDA-B7F0-D28A515E3FCF}&file=CRTracking.xlsx&action=default&mobileredirect=true' is not valid.",
  "source""api.connectorp.svc.ms"
}
 
The file is valid and people are contributing to it online. The file was saved originally in my company's OneDrive folder, which is synced to SharePoint, and I can navigate to the file from the SharePoint format, so not sure what's going on here. Any insights or pointers are truly appreciated.
 
Thanks
-Guillermo
Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,661 Super User 2026 Season 1 on at
    This file pointer is not usable - you need to get rid of the ":x:/r/" part, the _layouts part and a few other bits and bobs.
     
    Use
     
     
    or a version with the appropriate subfolders.
  • GuillermoTodd Profile Picture
    6 on at
    How do I get a pointer that doesn't include drive letters, like ":x:/r/"?
     
    This is an online file stored in my OneDrive and accessible through SharePoint, and it is meant for different people to collaborate on. When I generate a link to share, whether I open the file from the browser or Excel, the URL generated always includes drive letters.
     
    Even when creating a brand new Excel file within my SharePoint site, the URL to share comes with drive letters.
     
    Thanks,
    -Guillermo
     
  • lbendlin Profile Picture
    8,661 Super User 2026 Season 1 on at
    The site URL should be a constant anyway.  Use the file GUIDs instead of the names.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 552

#2
Valantis Profile Picture

Valantis 388

#3
11manish Profile Picture

11manish 375

Last 30 days Overall leaderboard