Open peombwa opened 2 years ago
@peombwa did we have an openapi issue on this?
@ddyett, the issue is already in the metadata repro.
We will need an XSLT transform that annotates the logo
property of application
entityType with a MediaType annotation of image/*
for this to work.
The annotation should also be applied to organization/{organization-id}/branding/localizations/{localization-id}/backgroundImage
.
Set-MgApplicationLogo
fails withContent-Type was application/octet-stream. Image Content-Type header should be one of the following: [image/bmp, image/emf, image/wmf, image/jpg, image/jpeg, image/gif, image/ico, image/png, image/exif, image/tif, image/tiff, image/*, images/*].
.The OpenAPI document currently describes the content-type as
application/octet-stream
. AutoREST.PowerShell expects the right content-type to be explicitly described in the OpenAPI document.Repro Steps
Related to microsoftgraph/msgraph-sdk-powershell#1028, microsoftgraph/msgraph-sdk-powershell#935