PnP-PowerShell icon indicating copy to clipboard operation
PnP-PowerShell copied to clipboard

Provide a cmdlet to set Group Image on modern Team Site (Office 365 Group backed)

Open mrik23 opened this issue 8 years ago • 0 comments

Reporting an Issue or Missing Feature

Missing feature

Expected behavior

It would be nice to have a cmdlet or a paramater in existing one to set the Office 365 Group and Site logo using the existing API _api/GroupService/SetGroupImage.

Actual behavior

Currently we can set the site logo but I believe it is different and will not replicated across all services (using the O365 group).

Steps to reproduce behavior

Not sure if the API is documented but it seems to only need a POST at

https://tenant.sharepoint.com/sites/<site>/_api/GroupService/SetGroupImage

with the image data.

Which version of the PnP-PowerShell Cmdlets are you using?

  • [ ] PnP PowerShell for SharePoint 2013
  • [ ] PnP PowerShell for SharePoint 2016
  • [x] PnP PowerShell for SharePoint Online

What is the version of the Cmdlet module you are running?

(you can retrieve this by executing Get-Module -Name *pnppowershell* -ListAvailable)

How did you install the PnP-PowerShell Cmdlets?

  • [x] MSI Installed downloaded from GitHub
  • [ ] Installed through the PowerShell Gallery with Install-Module
  • [ ] Other means

mrik23 avatar Aug 07 '18 12:08 mrik23