I am feeding a JSON from Azure Automation Runbook to Microsoft Flow
I am getting an error:
'Unexpected token encountered when reading value for 'OdataType'. Expected StartObject, Boolean, got String. Path 'schema.properties.InvitedUser.properties.OdataType'.'.
My JSON schema looks like this:
https://gist.github.com/ian-nevda/c3cfc8aa177dcf0e9f6d999bebfce331
My original JSON that I am trying to feed to flow looks like this:
https://gist.github.com/ian-nevda/a691f07f206b9fe8fc0539f56034a2cf
As you can see in the original, in most cases the field "OdataType" is null. I tried defining it as "string" in the schema which doesn't appear to work.
I am not sure how to re-format my schema to make this work 😞
Any help at all is appreciated.