CodeTwo User Photos
Upload individual Microsoft 365 profile photos with CodeTwo User Photos. The source calls for downloaded photos and People Administrator activation before signing in.
Source-derived reference
These notes were recovered from OneNote. Configuration, permissions and operating results have not been freshly verified. Confirm the applicable authority and environment before acting.
Prerequisite
Download and install Download CodeTwo User Photos for Office 365
Download the photos
- You will need a downloaded copy of the individual user photos you want to upload
- It is recommended to use low resolution images as these will only be used on digital previews and any user can right click on a profile image and gain access to the original (think of what student could do with high res staff photos). Some schools use the same images used for Edumate.
- These profile images are only visible inside of the organisation
Upload photos for an individual user
- Go to PIMs My roles - Microsoft Azure and elevate to the "People Administrator" role
- Open CodeTwo and sign in (must elevate before sign in)
- Let the groups in the left side column load
- Scroll through the list and select the relevant group
Screenshot retained for review
- Find the user you want to update
- Click the Upload icon
Screenshot retained for review
- Go find the relevant photo
- Click Ok
Screenshot retained for review
To bulk upload the same photo for students
There are a few options:
- Repeat the individual upload process for each student but select the same image file of the College logo
- Upload the College logo to one user -> right click on that user -> Copy Image -> right click on another user -> Paste Image -> repeat the paste for other users as needed
- Create the number of copies of the logo as required, then used a CSV file to bulk rename them to the student names, then user the CodeTwo bulk import tool.
Screenshot retained for review
One method for creating the images for each user.
- copy and paste users in group from code 2 app to csv
- create source image.
- create destination folder
- run this script to create a profile pic for each user
$csvPath = "C:\path\to\userlist.csv"
$sourceImage = "C:\sourceimage.jpg"
$destinationFolder = "C:\destination\folder"
# Import CSV
$users = Import-Csv $csvPath
foreach ($user in $users) {
$email = $user.email.Trim()
# Clean filename (remove invalid characters if needed)
$safeEmail = $email -replace '[\:*?"<>|]', '_'
$destinationFile = Join-Path $destinationFolder "$safeEmail.jpg"
Copy-Item -Path $sourceImage -Destination $destinationFile -Force
}
- Use the code 2 app to match each user and import