< Back
Remove-Groups_PhotosData
Post
NAME Remove-Groups_PhotosData
SYNOPSIS
Removes the data stream from a "photo" object.
SYNTAX
Remove-Groups_PhotosData -groupId <string> -profilePhotoId <string> [<CommonParameters>]
DESCRIPTION
Removes a reference from a "photo" resource (which is of type "microsoft.graph.profilePhoto").
Graph Call: DELETE ~/groups/{groupId}/photos/profilePhotoId/$value
PARAMETERS
-profilePhotoId <string>
The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-groupId <string>
A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.
System.String
A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK
SYNOPSIS
Removes the data stream from a "photo" object.
SYNTAX
Remove-Groups_PhotosData -groupId <string> -profilePhotoId <string> [<CommonParameters>]
DESCRIPTION
Removes a reference from a "photo" resource (which is of type "microsoft.graph.profilePhoto").
Graph Call: DELETE ~/groups/{groupId}/photos/profilePhotoId/$value
PARAMETERS
-profilePhotoId <string>
The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
-groupId <string>
A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.
Required? true
Position? named
Default value
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters? false
<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer, PipelineVariable, and OutVariable. For more information, see
about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
The ID for a "microsoft.graph.profilePhoto" object in the "photos" collection.
System.String
A required ID for referencing a "microsoft.graph.group" object in the "groups" collection.
OUTPUTS
RELATED LINKS
GitHub Repository https://github.com/Microsoft/Intune-PowerShell-SDK