msgraph-metadata
msgraph-metadata copied to clipboard
New-MgTrustFrameworkPolicy - Wrong meta data description
According to the API reference, it expects a request payload with a content-type of application/xml. We end up sending a json post because the description in the metadata is that it's a navigation property and since we are sending a stream, we either need a "/content" or a "$value" appended at the end i.e POST /trustFramework/policies/$value or POST /trustFramework/policies/content.