Skip to content

/_layouts/15/userphoto.aspx to get user photo #7392

@PooLP

Description

@PooLP

What type of issue is this?

Question

What SharePoint development model, framework, SDK or API is this about?

not applicable

Target SharePoint environment

SharePoint Online

What browser(s) / client(s) have you tested

  • 💥 Internet Explorer
  • 💥 Microsoft Edge
  • 💥 Google Chrome
  • 💥 FireFox
  • 💥 Safari
  • mobile (iOS/iPadOS)
  • mobile (Android)
  • not applicable
  • other (enter in the "Additional environment details" area below)

Additional environment details

No response

Issue description

Hi,
I'm use this url to retrieve users avatar (replace "accountName" by email) in SPFx dev :
/_layouts/15/userphoto.aspx?size=M&accountname=accountname

I never had a problem, but since this morning, it does not work on of my all tenants. Are you also having the problem?

This method is also used by @hugoabernier in are livePersonaCard ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:csom/rest/apiCategory: SharePoint Client Side Object Model SDK / REST APItype:archive-old-issueIssues which are closed as tool old for active work

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions