Based on the error you’ve encountered, it appears that the upload of your profile picture is being blocked by a policy defined in the Security section of the Azure portal. Please check if there is an active policy that restricts the upload of profile images.
If this post helps answer your question, please click on “Accept as Solution” to help other members find it more quickly.
If you thought this post was helpful, please give it a Thumbs Up.