May 28 2021 11:00 AM - edited May 28 2021 11:01 AM
I am trying to update Calendar Events via GRAPH and to succesfully replace the event message body I must pack the HTML body into a JSON file. I have been successful using simple html test content. But, when I try to use a real message body gathered via GET EVENT and then edited via my script it fails. ConvertTo-Json does not like the complex html in the real message body.
Does anyone have any advice or functions for importing HTML into a JSON structure?
May 28 2021 12:24 PM