MicrosoftGraphClient.getGroupPhotoWithSizeLimit()
Home > @backstage/plugin-catalog-backend-module-msgraph
> MicrosoftGraphClient
> getGroupPhotoWithSizeLimit
Get profilePhoto of Group
from Graph API with size limit
Signature:
getGroupPhotoWithSizeLimit(groupId: string, maxSize: number): Promise<string | undefined>;
Parameters
Parameter | Type | Description |
---|---|---|
groupId | string | The unique identifier for the Group resource |
maxSize | number | Maximum pixel height of the photo |
Returns:
Promise<string | undefined>