I have created a simple script that can bulk-update user’s profile photos in Azure AD / M365. All you need to do is put all the pictures in a folder, name the files with the user’s UPN and run my script. The script needs a Graph API permission called User.ReadWrite.All (application rights), so you need…
— Read on alexholmeset.blog/2022/10/23/azure-ad-m365-profile-picture-uploader/