Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Unanswered

MS Flow sharepoint step - Get file content using path - works the first run then fails immediately after

Posted on by Microsoft Employee

Hello, 

I am using the 'get file content using path' flow step to retrieve a sharepoint location stored on an activity in dynamics. 

I set the Sharepoint site in a variable and the file path is a compose output using this expression: 

string(split(outputs('Full_SharePoint_Document_link'), variables('Sharepoint'))[1])
It works the first time i have this step in the flow. Then if I run the flow again I get the following error: 
error code:
SharePoint Site Address '@variables('Sharepoint')' is not valid
clientRequestId: 141b763b-ee21-4605-8f4b-04f8bbdf1033
If I delete the step and create it again it will work the first time and fail the second again
pastedimage1605027581333v1.png
Any help appreciated i'm fairly new to all this
Thanks
Dan

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans