Using the Microsoft Graph you can easily create a new Office 365 Group, that is, until you try to set its logo.