Logic App Expression

MS Techie 2,716 Reputation points
2023-04-04T19:17:04.97+00:00

B Below is output from HTTP call in logic app. Now how do i get the values of the "value" field below, which comes in the "privilegedData" field.
Should i use a String variable or array variable. What should be the Logic App Expression Syntax to collect the value of "value" under privilegedData field ? {
  "meta": {
    "location": "https://xxxxx",
    "resourceType": "jjjjj"
  },
  "displayName": "tttt",
  "privilegedData": [
    {
      "display": "$test1 @ test1@ttttt.onmicrosoft.com",
      "type": "sagfeSystem-WinDomaintttPOC",
      "value": "6447567a644445364f6a7053623239304f6a6f365433426c636d46306157356e49464e356333526c6253315861573545623231686157355154304d746447567a644446416247567663476868636d31685a4756324c6d397562576c6a636d397a62325a304c6d4e7662513d3d",
      "$ref": "https://dddddddddddd"
    }
  ],
  "schemas": [
    "urn:ietf:params:scim:schemas:wqrt:1.0:fdd",
    "urn:ietf:params:scim:schemas:pam:1.0:Container"
  ],
  "urn:ietf:params:scim:schemas:dfgdf:1.0:Safdfge": {
    "location": "\",
    "gsfdgsd": "NO"
  },
  "name": "test1",
  "id": "6447567a6444453sfdgsdd",
  "type": "gadfg"
}

Azure Logic Apps
Azure Logic Apps
An Azure service that automates the access and use of data across clouds without writing code.
3,253 questions
0 comments No comments
{count} votes

Accepted answer
  1. shiva patpi 13,256 Reputation points Microsoft Employee
    2023-04-04T23:31:46.03+00:00

    Hello @MS Techie , I just tested with below expression to get the value: body('Parse_JSON')?['privilegedData'][0].value

    Parse JSON followed by a string variable using that expression: Regards, Shiva


0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.