SOLVED

remove profile picture

%3CLINGO-SUB%20id%3D%22lingo-sub-215750%22%20slang%3D%22en-US%22%3Eremove%20profile%20picture%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-215750%22%20slang%3D%22en-US%22%3E%3CP%3EHi%20experts%3C%2FP%3E%3CP%3Ei%20have%20a%20requirement%20to%20delete%20profile%20picture%20of%20an%20outlook%20account.%3C%2FP%3E%3CP%3EOWA%20is%20disabled%20in%20my%20environment%20so%20i%20cannot%20conenct%20to%20the%20remote%20user.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Ewill%20the%20below%20powershell%20command%20can%20i%20remove%20the%20profile%20picture%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22hljs-pscommand%22%3ERemove-UserPhoto%3C%2FSPAN%3E%20%3CSPAN%20class%3D%22hljs-string%22%3E%22myuser%40mydomain.com%22%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-215750%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EAdmin%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EExchange%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EOffice%20365%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-215889%22%20slang%3D%22en-US%22%3ERe%3A%20remove%20profile%20picture%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-215889%22%20slang%3D%22en-US%22%3E%3CP%3EYes%2C%20this%20commandlet%20will%20remove%20the%20user%20photo.%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Emore%20details%20here%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Fmailboxes%2Fremove-userphoto%3Fview%3Dexchange-ps%22%20target%3D%22_blank%22%20rel%3D%22noopener%20noreferrer%20noopener%20noreferrer%20noopener%20noreferrer%22%3Ehttps%3A%2F%2Fdocs.microsoft.com%2Fen-us%2Fpowershell%2Fmodule%2Fexchange%2Fmailboxes%2Fremove-userphoto%3Fview%3Dexchange-ps%3C%2FA%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-215783%22%20slang%3D%22en-US%22%3ERe%3A%20remove%20profile%20picture%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-215783%22%20slang%3D%22en-US%22%3E%3CP%3EIn%20general%20it%20depends%20on%20how%20the%20photo%20was%20set%2C%20but%20yes%2C%20Remove-UserPhoto%20will%20remove%20it%20from%20any%20Exchange-related%20clients.%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-1655415%22%20slang%3D%22en-US%22%3ERe%3A%20remove%20profile%20picture%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1655415%22%20slang%3D%22en-US%22%3E%3CP%3EIt%20is%20not%20allow%20me%20to%20remove%20my%20profile%20picture%20and%20I%20do%20not%20know%20what%20to%20do%20so%20can%20I%20have%20so%20help%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

Hi experts

i have a requirement to delete profile picture of an outlook account.

OWA is disabled in my environment so i cannot conenct to the remote user.

 

will the below powershell command can i remove the profile picture

Remove-UserPhoto "myuser@mydomain.com"

3 Replies
Highlighted

In general it depends on how the photo was set, but yes, Remove-UserPhoto will remove it from any Exchange-related clients.

Highlighted
Best Response confirmed by Rising Flight (Frequent Contributor)
Solution

Yes, this commandlet will remove the user photo.

 

more details here:

 

https://docs.microsoft.com/en-us/powershell/module/exchange/mailboxes/remove-userphoto?view=exchange...

Highlighted

It is not allow me to remove my profile picture and I do not know what to do so can I have so help