Skip to main content

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

ParameterTypeDescription
groupIdstringThe unique identifier for the Group resource
maxSizenumberMaximum pixel height of the photo

Returns:

Promise<string | undefined>