Forum Discussion
Sarah_Terry
Product Manager
8 years agoGot it - I think found the issue: When the script converts the response to JSON, it isn't catching those nested objects like checkpoints, serviceProperties, etc. If you add '-Depth 5' as an option when converting, such that the full line is '$body = $response.data | ConvertTo-Json -Depth 5', you'll see those nested JSON objects. I'll correct the example scripts - sorry for the confusion! Let me know if this doesn't fix your issue.
Related Content
- 6 months ago
- 5 months ago
- 2 years ago