Profile Imanges are not getting deleted from Profile Image library

Hi,
If I go mysite and edit my profile and set a profile images and save the changes. Image is uploaded to profile Image library in the root of the mysite.
I Edit my profile again and this time I remove the profile image and save the changes. Image is not getting deleted from the profile Image library.
as per my understanding it should get deleted. My site clean job is running. user profile is active in AD.
Thanks
Omkar

My first question would be is it a big deal if the picture doesnt get deleted from the libarary?  My understanding is that the profile picture field is a URL link, the first time you add a picture it will provision 3 copies of differing sizes to the
library.  When you "remove" the picture, it just empties out the picture URL field.  Which is a nice hidden recovery if someone accidently deletes a profile photo they really wanted (Or if your company really locks down picutures so you only get
a choice of a couple avatars instead of a personal photo).
Similar issue:
http://social.technet.microsoft.com/Forums/sharepoint/en-US/17bc8538-568f-4fff-8933-458fdba4b701/delete-user-profile-picture-in-sharepoint-2010-when-account-is-deactivated-or-deleted-from-ad?forum=sharepointadminprevious
and response:
Since the user photo library follows certain standards OOB:
http://iedaddy.com/2010/12/sharepoint-2010photo-management-for-social-mysites/
I would say just create a small script that will periodically read the UPS and make sure there are no photos sitting in the library not associated to an account... here's an example of accessing the User Profiles w/ Powershell:http://iedaddy.com/2010/06/sharepoint-2010-updating-user-profile-properties-with-powershell/
You would just modify it to delete image files whose name is not associated to an existing NTName in the UPS.
ieDaddy
Blog: http://iedaddy.com
Twit: @iedaddy

Similar Messages

  • Mails are not getting deleted from server

    Hi
    I am reading a mail from using java mail from my mail server.
    When i am setting the message.setFlag(Flag.DETELED,true);
    the mail is not getting deleted from the server.
    I am not able to trace the problem, please help me solving this problem. It's a bit urgent.
    store = session.getStore("pop3");
    store.connect(hName, portNo, uName, pWord);
    folder = store.getFolder("INBOX");
    folder.open(Folder.READ_WRITE);
    Message message[] = folder.getMessages();
    System.out.println("Unread Msg Count : " + folder.getUnreadMessageCount());
    int n = message.length;
    for (int i = 0; i < n; i++) {
    fromMsg = (message.getFrom()[0]).toString();
    subMsg = (message[i].getSubject()).toString();
    if (folder instanceof POP3Folder) {
    POP3Folder pf = (POP3Folder) folder;
    Part messagePart = message[i];
    content = messagePart.getContent();
    if (content instanceof Multipart)
    messagePart = ((Multipart) content).getBodyPart(0);
    String contentType = messagePart.getContentType();
    Part messagePart = message[i];
    content = messagePart.getContent();
    if (content instanceof Multipart){
    messagePart = ((Multipart) content).getBodyPart(0);
    String contentType = messagePart.getContentType();
    message[i].setFlag(Flag.DELETED, true);
    store.close();
    Thanks and Regards,
    Luv Amieee...
    xx                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    yeah true...
    i did not close the folder.
    i got to know from sun faq only later on yesterday.
    but still.. thanks a lot...
    luv amieee..
    xx

  • My locked posts are not getting deleted from my questions

    Hi,
    Can someone remove the posts that have been reported as abused from id.Thanks a ton in advance.

    I see that you have quite a number of unlocked and yet open threads. You need to go and close those threads manually. Don't you think you are obliged to get back to the people who spent time on your issues to go back and update them of the progress and close those threads?
    These are only some of the examples:
    Database growth
    HTTP sessions struck
    Issue with trusted system
    List of all spool tables
    Issue in ESS
    Issues uploading a file
    pk

  • Material with flag for deletion are not getting deleted

    Hi All,
    Classic Scenario
    ERP - Materials were marked for deletion on the client level
    SRM - COMMPR01 - Materials are marked for deletion
    Question - When we ran BBP_CCM_Transfer_Catalog and Publish the Master Catalog the materials are not getting deleted in TREX.
    Please advice.
    Thank you very much,
    Carpenter

    I have to delete the Product in SRM and this will delete the Index in TREX Search.
    Thanks

  • My deleted emails on iPhone 4s are not being deleted from server

    I'm facing a problem with my iPhone 4s when deleting emails. Unfortunately, they are not being deleted from the server. I tried setting the account in pop and imap with settings to delete from server and trash ticked. Still they keep on appearing in Outlook which is a double work to do. Please advise.

    I'm no expert by far, but have had issues with this before.
    IMAP should allow your iPhone to remove messages from the server.
    But have you made sure both the iPhone and Outlook are connecting via IMAP?
    If your iPhone does remove the messages from the server, but your computer is using POP, then the computer may download the email before it is removed form the server by your iPhone.
    This was my issue, that my computer had already downloaded the message, and POP does not check later if it is deleted.
    If you delete a message from Outlook does it disappear on the iPhone?
    Alternativly you may need to check the email server settings.
    Who is your email provider?
    They may be able to check if IMAP allows you to remove emails.

  • Mail notifications are not getting sent from a Calendar client

    Mail notifications are not getting sent from a Calendar client
    <p>
    On the client, after creating an event and electing to send a mail notification,
    the following error appears in a pop up box:
    "module:mailmsg.ctp,label 190, service error"
    Also, in the /users/unison/log/cws.log file on the Calendar Server, there is an
    error from the corresponding time that the client receives one:
    DEXOTEK ERRCODE Ox132B0 -> CWTCP_RemoteSecurityModified: RNC_SecurityModified
    -> Request 0x443 for NodeId 10002,
    status set to CANTSERVICE
    Solution:
    If this is only happening for one user, then check for the presence of a dbv.log
    file in the /users/unison/log directory. If present this implies db corruption
    and the /users/unison/bin/unidbfix tool should be run.
    Note: For details on "unidbfix", please read the man page and also the online
    Calendar Administrators Guide.

    I am having the exact same problem sending through a comcast smtp server to a mac.com email address:
    Reporting-MTA: dns; qmta11.emeryville.ca.mail.comcast.net
    so some problem they are having in emeryville today? I too am waiting for it to clear up.

  • Data in BBP_DOCUMENT_TAB are not getting deleted

    Hi All,
    We are in SRM 4.0.
    Since today morning whenever a user trying to create / change shopping cart, PO, GR it got updated in the BBP_DOCUMENT_TAB. But it is not getting deleted automatically. Earlier it used to get deleted automatically once the documents have been ordered.
    But I could see the POs and GRs have been transfered to the back end system.
    Job CLEAN_REQREQ_UP is running every 2 mts.
    Please advise.

    Hi Arun,
    note 338985 describes in detail how the the status of the document(s), CLEAN_REQREQ_UP and the IDOCs interact.
    If the documents are posted without any error i.e. there´s everything perfect but the 'obsolete' entries in BBP_DOCUMENT_TAB, then this sounds like a malfunction.
    Maybe you should debug the the cleaner with one document and see whats happening starting at the following spot:
    CLEAN_REQREQ_UP
    process selected entries: check  existence of follow on documents,
    update if necessary local documents etc. (depends on entry type)
            LOOP AT selarea.
              IF still_to_proc = c_proc_block_size.
                SET UPDATE TASK LOCAL.
              ENDIF.
    lateron the entries are deleted in function module BBP_DELETE_FROM_DOCUMENT_TAB
    Note 535765 describes how to delete entries via a Z* report but I would NOT RECOMMEND to do that without having checked the situation by SAP before.
    see note 535765:
    Please note!:                                                       
    Deleting relevant entries from the BBP_DOCUMENT_TAB may cause severe
    problems, as the system needs the entries to set the right status to
    shopping carts, invoices and confirmations. So please be careful with
    the deletion of entries.                                            
    Kind Regards
    Michael

  • Workitem not getting deleted from SAP inbox

    Hi ,
    I have a scenario in workflows , in which when a user creates a timesheet , a mail goes to approver , when the timesheet is approved the mail should get automatically deleted .
    We have created a standard task for this purpose ( a copy of TS31000007)  .
    The business Object is CATS , terminating event is COMPLETED , method is APPROVE . There is no triggereing event a FM is being used .
    The standard task is copied in two test environments , from first system the mail gets automatically deleted , but from the second one it is not getting deleted .
    Also the workflow log in SWEL doesnt show any rows in the second system .
    In the first system , there are 4 steps  in the workflow log :
    Dialog work item created
    Background process started
    terminating event received
    work item processing complete
    Though the workitem has deleted , but the status of the workflow is in Progress
    while the second has only two steps in workflow log
    Dialog work item created
    Background process started
    and the workflow status is "Ready"
    I guess the terminating event in the second case is not getting received .
    but ,I have  checked sweinst and found that the instance linkage is activated .
    Also when the workitem is approved , it does not get delete , and if we try to re execute it again , the gives a msg " NO data found "
    Can someone help me to find why the mail is stuck in the inbox and  correct this problem.
    Thanks
    Sheetal

    Unless and until the Terminating event is triggered the workitem will not disappear. Check how the Event is getting triggered in other system. I feel it is getting triggered by standard means. Check whether there is proper settings in SWEHR3.
    It means that you are not doing any special configuration for event triggering or coding. Please check what is missing in the system you are having problem.  Check SWU3 setting is fine or not.
    <b>Please close thread when issue resolved</b>
    Thanks
    Arghadip
    Message was edited by:
            Arghadip Kar

  • Temporary files are not getting deleted

    Hi All,
    I am using informix database and my code is reading BLOB from database and writing the image to different storage media. The program has to run for number of images. It is writing to media successfully but not exiting even after printing the last statement in program. it is generating some temporary files ifxb_* . If I use System.exit() garbage collection is not happeneing and temporary files not getting deleted.
    I am storing BLOB to an InputStream. and closing all the Connections and ResultSet before exit.
    Can anyone please tell why program is not exiting normally?

    gtRpr wrote:
    It doesn't make much sense to me to go through extra work to make code insecure, when doing things the right way is easier and more secure.@yawmark - I get it, relax.
    I never used them last year because I only found out about there existance about 4 Months ago.
    And guess what I have never used normal statements for something like that again.
    Only time I use a normal Statement is when I run that query only once, and no the entire query is hardcoded so no need for any worries due to security.Um ... D'you post this to the wrong forum/topic?
    Anyway, OP ... I don't know a thing about informix, so perhaps a trip over to IBM would help ... they have lots of information on their site. You might want to try a different forum right here at java.sun.com as well.
    About those closing of Connections and Resultsets ... are they in finally clauses? They should be.
    ~Bill

  • Weights are not getting copied from quote to order

    Hi All,
    While creating sales order items with reference to a Quote the weights are not getting copied (zero shown in weights) even though the material in  quote has weight.
    Why are the weights not getting properly from quote to order .

    hi
    goto VTAA and select the target document
    click on Magnifying glass symbol
    here check whether you have selected complete Reference or not
    But if you select this then the system copies the source document completely.
    Procedure
    If you mark the field, the system copies the source document into the target document completely. The system also copies the complete reference indicator. You cannot change the indicator in the target document.
    Regards

  • Why are Notes being deleted from my iPod touch when I delete them from email on my computer?

    When i add notes on my ipod touch then they get sent automatically to my email on our computer, but if i delete them from my email on the computer they also get deleted from my ipod which i do not want.  How do i keep them just on the ipod where i intially input

    Then go to Settings>Mail>the mail account associated with the notes and turn Notes off.

  • LAN was down ie Users are not getting ip from DHCP server after enabling DHCP snooping

    Hi All ,
    Enclosed file has network connectivity diagram.
    1. L3 vlan's ie 2,3,4,5 and 6 are configured on ACC-CR1 and ACC-CR2. 
    2.Trunk is configured between Core switches ( CR1 and CR2) and access switches .VTP mode is transparent on all switches.L2 vlans are configured on all access switches.
    3.DHCP is server is located at different location and is reachable over MPLS.
    Without enabling dhcp snooping , users connected to access switches (Sw1,sw2,sw3 and Sw4 ) are getting ip address from DHCP server without any problem and everything is working fine.
    But users connected to Sw3 and Sw4 are getting ip address from rouge DHCP server which is not pingable from any one of the switch.
    So we have configured DHCP snooping for all vlan's on CR1 , CR2 , SW3 and SW4 and "trusted uplink ports" which are connected to WAN routers from CR1 and CR2  and also "trusted uplink ports " of Sw3 and Sw4 which are connected to CR1 and CR2.
    As soon we have enabled DHCP snooping and trusted respective uplink ports , users are not getting ip address from remote DHCP server and even users connected to Sw1 and SW2 are facing same issue.
    Note : DHCP snooping is not configured on SW1 and SW2.
    Why users are not getting ip address from remote DHCP server as soon as we enabled dhcp snooping on Core switches and two access switches ie sw3 and sw4 ? what could have caused DHCP packets to be dropped ? Any idea would be appreciated .

    Hi,
    as you say: " HSRP is configured between CR1 and CR2 and Vlans are active on CR1" does it mean there are L3 intrefaces configured in each VLAN on your CR switches and ip hepler-address pointing to the remote DHCP server is configured on each of them?
    I know it's difficult in a productive environment but IMHO you need to find out where are the DHCP offers dropped.
    Either by enabling DHCP debugging or by capturing packets via Wireshark, e.g.
    Best regards,
    Milan

  • Photos I delete in library are not being deleted from hard drive

    Help please. I have been trying to delete photos from the iPhoto library (Events and Photos) and emptying the iPhoto trash can. This is supposed to erase them from the hard drive. However, when I look in the hard drive in the Pictures folder, the photos I deleted are still there. Could someone tell me what might be wrong? Thanks!

    I'm running a managed library.
    Let me see if I can understand this. The problem has to do with the place I was looking at. I was looking in the pictures folder in the hard drive. Now, the pictures inside the iPhoto library are the ones that are deleted from the hard drive, and the ones in the Pictures folder are not being touched at all. So I have two separate folders with pictures: the iPhoto library folder and the Pictures folder inside the hard drive.
    Since I'm going to be using iPhoto exclusively I might as well delete that other Pictures folder in the hard drive. If I delete the pictures in this folder, would that affect the pictures I have in the iPhoto Library? I'm thinking no since iPhoto has made copies of all those pictures. What do you think?
    THanks for the info TD

  • My messages are not being deleted from the server

    Hi,
    Mail is not removing messages from the server. Every now and than I have to remove messages from my server manually. I went through all the settings ... it works as intended on 2 out of 3 machines ... am I missing something? I can use "delete now" in Mail preferences ... not a big deal, just a nuisance.
    Thanks, Stephan

    Are the Mail settings sticking between reboots on that one Mac?

  • Manual discounts are not getting copied from Quote to Sales order

    Hello All,
    If I assign a manual discount to any item in Quotation document, this condition type with its discount amount is not getting
    copied over to Sales order document, I have selected the drop down "D Copy all conditions" in the copy control for item categories,
    and both quote & Sales order use the same pricing procedure, i am i missing something here?
    I appreciate your help
    thanks
    Chandu

    Hi Chandu,
    Please try to adopt the standard pricing type in the copy control between QT and OR which is "A - Copy Pricing components Unchanged and redetermine Scales".
    Please share the outcome.
    Regards

Maybe you are looking for

  • Shutdown or Sleep, which one is better??

    I usually use my Mac Mini about 3 hours a day. At the end of the day, should I shutdown the machine or simply put it in sleep mode? Which one is better? What is the difference? Mac Mini   Mac OS X (10.4.6)  

  • Refreshing materialized view

    I have some question, 1. anyone have scripts to compile, refresh and analyze all mview in a schema? 2. how do we now mview refresh path? Thanks in advance.

  • Favorites bar in finder in two languages

    Hi there, I recentley purchased a macbook Pro 13" from 2011. Then installed Yosemite after using Maverics for 12 Months on another MB. The computer was originally set up in german but I then changed the language to english (and all other settings). T

  • Can't find theme anymore

    Hello my name is EJay and I got the Curve 8900 and I donwloaded sum themes from pinstack.com and I can't seem to find where I saved them in my phone maybe u could me? Message Edited by dany_s on 05-23-2009 08:04 PM

  • Flash Player 14.0.0.179 Application Error

    I keep getting the following Application Error message. I have tried reloading the program but the problem persists,  I am using Firefox 31 on Windows 7 OS Any ideas how I can solve this issue.