I'd like to change the site logo for the whole site collection via code.
Background: I'm creating and setting up site collections via code and it's required to also change the site logo to my customer's logo. In SharePoint Online it's not possible to create a "global" master page, etc.
I already searched the web for a solution with no success. Could you please point me in the right direction, how I can accomplish that with the client side object model (CSOM)?
I know that it's possible to change the logo manually via
site settings =>Title, description, and logo,
but I need to do it via code.
Many thanks in advance and best regards