我正在尝试创建一个循环,但我似乎无法让它工作。我过滤了一个共享点列表,结果得到了以下输出。
接下来,我想遍历 2 个广告组并取回它们的对象 ID。出于某种原因,我似乎无法获得正确的参考。
我尝试了很多东西,这是我尝试的最后一个:
我需要什么表达式来检索 AD 组名称?
{
"body": [
{
"@odata.etag": "\"4\"",
"ItemInternalId": "1",
"ID": 1,
"Title": "Access Rights",
"ReportName": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
"Id": 4,
"Value": "WOL Campaign Report"
},
"Environment#Id": 1,
"Azure_x0020_AD_x0020_Group": "PT_PBI_TST_AR_WOLCAMPAIGN_APPViewer",
"Modified": "2022-01-14T16:30:47Z",
"Created": "2022-01-13T23:56:02Z",
"Author": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
"Claims": "",
"DisplayName": "",
"Email": "",
"Picture": ""
},
"Author#Claims": "",
"Editor": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
"Claims": "",
"DisplayName": "",
"Email": "",
"Picture": ""
}
},
{
"@odata.etag": "\"1\"",
"ItemInternalId": "4",
"ID": 4,
"Title": "66",
"ReportName": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedReference",
"Id": 4,
"Value": "WOL Campaign Report"
},
"Environment#Id": 1,
"Azure_x0020_AD_x0020_Group": "PT_PBI_TST_RLS_WOLCAMPAIGN_AdminViewer",
"Modified": "2022-01-14T16:32:00Z",
"Created": "2022-01-14T16:32:00Z",
"Author": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
"Claims": "",
"DisplayName": "",
"Email": "",
"Picture": ""
},
"Author#Claims": "",
"Editor": {
"@odata.type": "#Microsoft.Azure.Connectors.SharePoint.SPListExpandedUser",
"Claims": "",
"DisplayName": "",
"Email": "",
"Picture": ""
}
}
]
}