msgraph-metadata icon indicating copy to clipboard operation
msgraph-metadata copied to clipboard

New-MgTrustFrameworkPolicy - Wrong meta data description

Open timayabi2020 opened this issue 3 years ago • 0 comments

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.

image

timayabi2020 avatar Aug 04 '22 14:08 timayabi2020