msgraph-sdk-dotnet icon indicating copy to clipboard operation
msgraph-sdk-dotnet copied to clipboard

Updating pictures as stream in organizationalBrandingProperties not working

Open vdboots opened this issue 1 year ago • 0 comments

Describe the bug When trying to update the an Image in the organizationalBrandingProperties the endpoint gives an error

To Reproduce

 var branding = new OrganizationalBranding
      {
          BannerLogo = new MemoryStream(Encoding.UTF8.GetBytes("String");
      };
      

      var resultitem =_graphServiceClient
          .Organization["{your tenant Id }"]
          .Branding
          .Request()
          .Header("Accept-Language","0")
          .UpdateAsync(branding).Result;

Expected behavior Updates the the picture in the branding module.

Client version 4.41 (production) and 4.59(beta)

Desktop (please complete the following information):

  • OS: Windows and Macos

Additional context

following errors occours:

One or more errors occurred. (Timeouts are not supported on this stream.) the same code works on drive for example.

vdboots avatar Sep 26 '22 13:09 vdboots