web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : quBElqmtU61Uhhi6Ju4dVn
Power Automate - Using Connectors
Unanswered

Having Problems with Single Quotes or Apostrophes inside Flow to Sharepoint List

Like (0) ShareShare
ReportReport
Posted on 1 Nov 2018 19:59:33 by 69

Hey All,

 

So I have a bunch of flows running that transfer people from one sharepoint list to another. I'm using an ODATA query to figure out if the user exists on the list already. 

 

First_x0020_Name eq 'DYNAMIC CONTENT FIRST NAME' and Last_x0020_Name eq 'DYNAMIC CONTENT LAST NAME'

 

So far I'm having great success except for one thing. For last names such as O'Brien and O'Reilly it's having issues with the apostrophe in the name. Anyone have any brilliant ideas on how I can make this work?

 

Thanks!

  • Community Power Platform Member Profile Picture
    on 03 Jun 2021 at 19:22:13
    Re: Having Problems with Single Quotes or Apostrophes inside Flow to Sharepoint List

    I know this is an old thread, but I had this issue and I found it easier to do this

    How to use string with apostrophe (') in Power Automate filter query (tomriha.com)

     

    Hope it helps.....

  • Eric6 Profile Picture
    116 on 30 Jul 2020 at 10:37:13
    Re: Having Problems with Single Quotes or Apostrophes inside Flow to Sharepoint List

    This works. Thanks a lot.

    The issue is real in the built-in filter of "Get items", but it does not occur when using the array filter. For beginners, it is also possible to use the array filter with dynamic content, not only in the "advanced mode". This will then require a chain of multiple array filters, but it does not necessarily have to look pretty to work.

    Best regards,

    Eric

     

  • rys Profile Picture
    69 on 02 Nov 2018 at 15:58:58
    Re: Having Problems with Single Quotes or Apostrophes inside Flow to Sharepoint List

    Hey Alice,

     

    Thank you for this, however, I don't know how to make this work with what I'm doing. (sorry, newbie!)

     

    I have the flow running on a recurrence, once per hour.

    Flow

    The ODATA query is in Get items 2 to see if the user exists, and then I use the following true/false condition to decide what to do with them:

    @equals(length(body('Get_items_2')?['value']), 0)

     

    I tried to drop in the filter array between the Get items 2 and the condition and then play with the condition statement, but I couldn't get it to work.

  • v-yuazh-msft Profile Picture
    on 02 Nov 2018 at 07:53:20
    Re: Having Problems with Single Quotes or Apostrophes inside Flow to Sharepoint List

    Hi @rys,

     

    I have made a test on my side and the issue is confirmed on my side.

     

    Please take a try to create the flow with a "Filter array" action as below:

    Capture.PNG

     

    When an item is created with the First Name is equal to O'Brien, the Last Name is equal to O'Reilly,

    The flow would run successfully as below:

    Capture.PNG

     

    Best regards,

    Alice

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

Announcing our 2025 Season 2 Super Users!

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics

Loading complete