[Scenario]
LogicApp fails getting PowerShell script output.
[Objectives]
- Investigate the error and modify "Parse JSON" step to receive outputs from the PowerShell script
[Remediation]
Parse JSON content was modified to get NULL data in case that one of fields has NULL date as below
{
"properties": {
"Department": {
"type": [
"string",
null
]
},
"Office": {
"type": [
"string",
null
]
}
},
"type": "object"
}
However, NULL should be convered with double quotes(") in the type array.
{
"properties": {
"Department": {
"type": [
"string",
"null"
]
},
"Office": {
"type": [
"string",
"null"
]
}
},
"type": "object"
}
With the double quotations, Parse JSON step works.
반응형
'ICT' 카테고리의 다른 글
[PowerShell] Sending ActiveDirectory User List Weekl (0) | 2024.02.29 |
---|---|
[PowerShell] MECM(Microsoft EndPoint Configuration Management) Script Run/Reinstall Client Bulkily (0) | 2023.12.21 |
[PowerAutomate] Odata Filter Queries (0) | 2023.12.20 |
[ServiceNow] Modifying workflow in Workflow Editor (0) | 2023.12.19 |
[ServiceNow] Limit the Category Visibility (0) | 2023.12.14 |
댓글