Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
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
 
  • ronaldwalcott Profile Picture
    3,497 on at
    Sharepoint path name changed
    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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,631 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,964 Most Valuable Professional

Leaderboard