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 / Sharepoint path name c...
Power Automate
Unanswered

Sharepoint path name changed

(1) ShareShare
ReportReport
Posted on by
Hi all,
 
I had a working Flow which had a Team channel message trigger and would create approvals out of them.

The general workflow was person A sends a mail with attachments to the channel address, this would create a message in the channel and trigger the Flow. The Flow then goes into a for each loop for every attachment and gets the sharepoint URL for the attached file and append it to a list. Then the approval is created with the list of attachments, so that they can be opened directly from the approval.
 
This was all working fine and great until a few weeks ago (it was rarely used so maybe the issue occured earlier)
 
 
Now I have the problem that from Teams I get the file path like this:
"/Shared Documents/Apps/Microsoft Teams Mailhook/Freigabe/EmailMessages_4_2025/Some_file_name.pdf"
 
But it only works when I use the German path like this:
"/Freigegebene Dokumente/Apps/Microsoft Teams Mailhook/Freigabe/EmailMessages_4_2025/Some_file_name.pdf"

I guess something happened in Sharepoint that the directory now has a German name instead of the English one.
 
What would you say is the best approach to get the correct file path?

Just replace "Shared Documents" in the string by "Freigegebene Dokumente"? Maybe include a check before that checks if "Shared Documents" is in the string, to catch any errors.
 
Thanks!
Bjarne
 
Categories:
I have the same question (0)
  • ronaldwalcott Profile Picture
    3,847 Super User 2025 Season 2 on at
    If it was me I would find out if the default language of the SharePoint site was changed and change the file paths. You could include a check for either path but establishing a root cause is important as it could have an effect on all flows being created. 

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 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard