Profile picture isn't shown in SharePoint Online
Your SharePoint Online profile picture isn't displayed on SharePoint sites or in People web parts. To get your profile picture displayed, try the following resolution.
Run the Picture Sync diagnostic
Note
This feature requires a Microsoft 365 administrator account. This diagnostic isn't available for the GCC High or DoD environments, or for Microsoft 365 operated by 21Vianet.
Microsoft 365 admin users have access to diagnostics that can be run within the tenant to verify possible issues with user photos.
Select Run Tests to populate the diagnostic in the Microsoft 365 Admin Center.
The diagnostic performs a large range of verifications for users who may not be seeing an updated profile picture.
References
Information about profile picture synchronization in Microsoft 365
Bulk upload user profile pictures
DISCLAIMER Copyright (c) Microsoft Corporation. All rights reserved. This script is made available to you without any express, implied, or statutory warranty, not even the implied warranty of merchantability or fitness for a particular purpose, or the warranty of title or noninfringement. The entire risk of the use or the results from the use of this script remains with you.