cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
PeKi72
Helper III
Helper III

How to search in a Sharepoint List managed metadata column with Power Automate

Dear Experts,

 

I have a Sharepoint list which contains a Managed Metadata column called "Keywords", and i have put some keywords in it.

 

What i would like with a Power Automate flow to search in the column Keywords for the keyword "Server A" in all the rows of the list. And the example below that would be row 1 and 3. How can i do that?

 

Knipsel.JPG

 

Gr. P

1 ACCEPTED SOLUTION

Accepted Solutions
Expiscornovus
Super User
Super User

Hi @PeKi72,


You could use the Search REST API.

https://docs.microsoft.com/en-us/sharepoint/dev/general-development/sharepoint-search-rest-api-overv...

 

Like in the interface you can use keyword query language (KQL) to search with property restrictions.

https://docs.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-synta...

 

In this instance you want to restrict to a specific list and a specific field. I would use 'Keywords: Server A ListId:GUIDofyourList' KQL query.

 

Below is an example in Power Automate.

 

keywords_listid.png

View solution in original post

1 REPLY 1
Expiscornovus
Super User
Super User

Hi @PeKi72,


You could use the Search REST API.

https://docs.microsoft.com/en-us/sharepoint/dev/general-development/sharepoint-search-rest-api-overv...

 

Like in the interface you can use keyword query language (KQL) to search with property restrictions.

https://docs.microsoft.com/en-us/sharepoint/dev/general-development/keyword-query-language-kql-synta...

 

In this instance you want to restrict to a specific list and a specific field. I would use 'Keywords: Server A ListId:GUIDofyourList' KQL query.

 

Below is an example in Power Automate.

 

keywords_listid.png

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (3,865)