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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Checking HTTP Output /...
Power Automate
Unanswered

Checking HTTP Output /Condition

(0) ShareShare
ReportReport
Posted on by 6
Hi,
 
i want to check a HTTP Body if it contains a value displayname with sys_lic (Name of a Azure AD Group)
The Condition after it doesnt seems to be working.
Anyone have any ideas?
Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,183 Most Valuable Professional on at
    Your value is probably nested within a property with the body of the HTTP outputs. Can you share an example (screenshot) of the outputs of the HTTP action?
     
    This way we can suggest an expression for your condition action.
  • Bell274 Profile Picture
    6 on at
    It looks like this
  • Verified answer
    Expiscornovus Profile Picture
    33,183 Most Valuable Professional on at
    The value property returns an array. You can use a Filter Array action for this to check the displayName. Place that action before the condition action.
     
    In the from of the Filter Array action use 
    outputs('HTTP')['body']['value']
     
    In the filter use:
    item()['displayName']
    contains sys_lic_
     
    In your condition remove the current check and add the below instead:
    length(body('Filter_array'))
    is greater than 0



    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 463 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 427 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard