Updating Microsoft 365 Account Profile Picture
The easiest way is to change it in Teams:

Otherwise, another working method to change it using Delve:
Go to the “Apps” category on the Portal and open the Delve app:

Near the top left, navigate to the “Me” tab:

A circle for a profile picture will be above your name. Wait a while and a camera icon will appear. Click this icon:


A new tab will open. Click “Change Your Photo” and a pop-up window will appear where you can upload an image.