Set-PnPTeamsTeamPicture
SYNOPSIS
Required Permissions
- Microsoft Graph API: Group.ReadWrite.All
Sets the picture of an existing team.
SYNTAX
Set-PnPTeamsTeamPicture -Team <TeamsTeamPipeBind> -Path <String>
DESCRIPTION
Notice that this cmdlet will immediately return but it can take a few hours before the changes are reflected in Microsoft Teams.
EXAMPLES
EXAMPLE 1
Set-PnPTeamsTeamPicture -Team "MyTeam" -Path "c:\myimage.jpg"
Updates a picture for the team called 'MyTeam' with the available at "c:\myimage.jpg"
PARAMETERS
-Path
The path to the image file.
Type: String
Parameter Sets: (All)
Required: True
Position: Named
Default value: None
Accept pipeline input: False
Accept wildcard characters: False
-Team
Specify the group id, mailNickname or display name of the team to use.
Type: TeamsTeamPipeBind
Parameter Sets: (All)
Required: True
Position: Named
Default value: None
Accept pipeline input: True (ByValue)
Accept wildcard characters: False