cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
mkucan
Frequent Visitor

Filter SharePoint Document Library by Sensitivity Label

Anyone had any success in using OData filters on the document sensitivity label value? Looking at the output of a get files I can see the value as "OData_DisplayName" but using that in the filter generates an error that "_DisplayName" isn't valid. 

 

mkucan_0-1664300454003.png

mkucan_3-1664301510764.png

 

mkucan_2-1664300603894.png

 

3 REPLIES 3
abm
Super User
Super User

Hi @mkucan 

 

Try the following:

 

image.png

 

Above expression I used is as follows:

 

item()?['OData__DisplayName']

 

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials
mkucan
Frequent Visitor

Thank you. I was looking to understand if the filter could be achieved in the 'Get Files' filter query vs a filter array which was what I went with when I couldn't get the OData filter to work.

Hi @mkucan 

 

I am not sure via ODATA filter that would work. The only option I can see is filter array.

 

Thanks



Did I answer your question? Mark my post as a solution!

If you liked my response, please consider giving it a thumbs up


Proud to be a Flownaut!

Learn more from my blog
Power Automate Video Tutorials

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Top Kudoed Authors
Users online (4,405)