Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics 365 | Integration, Dataverse...
Suggested answer

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

(0) ShareShare
ReportReport
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
    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
    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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >

Product updates

Dynamics 365 release plans