Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

No result searching for folder with rest in cloud flow triggered from Dynamics

Posted on by 40

Hi all

 

I have a, in my opinion, strange problem. I´m trying to find a folder in SharePoint with a rest call in a cloud flow, triggered from Dynamics. When I run the flow the rest call does not find anything, but when I use the site address and uri from the call directly in the browser, everything works fine.

 

The rest call and the flow are working in my development environment but not in production

 

Any ideas?

 

Kind regards

Martin

  • Suggested answer
    Martin Andersson Profile Picture
    Martin Andersson 40 on at
    RE: No result searching for folder with rest in cloud flow triggered from Dynamics

    Hi Steve

    Thanks for using your time on this! I have found a solution.

    When using filter on the rest call, ContentType did not work. When I removed it everything worked.

    Changed: "filter=ContentType eq 'Folder' and substringof('@{variables('[Prev Quarter]')}',Title)"

    To: "filter=substringof('@{variables('[Prev Quarter File Prefix]')}',Title)"

    There is still something we need to look at, since "ContentType" is working in our development environment but not i production.

    Regards

    Martin

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: No result searching for folder with rest in cloud flow triggered from Dynamics

    Hi Martin Andersson,

    Could you provide the setting of your flow? 

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Product updates

Dynamics 365 release plans