Unable to delete duplicate companies in my OCM - Microsoft Community


i'm still having issues removing company in ocm duplicated 873 times.

is there way can wipe out ocm database entirely , start scratch again?

thanks in advance!

hi liz,

about company files duplicating, please use the soape tool (http://soape.codeplex.com/)to delete duplicated companies. ( note: please backup companies data need in ocm before proceed. can select export > rows in table export data. )

first, please make sure the soap urlauthentication and ews header tabs show below:

 

in soape, can make response window format/indent xml right-clicking & choosing following:

 

then use following code , send:

<?xml version="1.0" encoding="utf-8"?>

<soap:envelope xmlns:xsd="http://www.w3.org/2001/xmlschema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:t="http://schemas.microsoft.com/exchange/services/2006/types" xmlns:m="http://schemas.microsoft.com/exchange/services/2006/messages">

  <soap:body>

    <m:emptyfolder deletetype="harddelete" deletesubfolders="false">

      <m:folderids>

        <t:distinguishedfolderid id="companycontacts" />

      </m:folderids>

    </m:emptyfolder>

  </soap:body>

</soap:envelope>

as tip, after running code, please clear ocm cache , restart outlook.

to clear ocm cache, please refer steps below:

  1. please go ie settings > general > settings under browsing history > caches , databases.
  2. delete cache files website "outlookapps.com".
  3. then, restart outlook 2016.

let me know if helps.

thanks,

lance



Office / Outlook / Other/unknown / Office 365 for business



Comments

Popular posts from this blog

Can't Sign-in to OneDrive - Microsoft Community

Shared mailbox permissions - Microsoft Community

Outlook 2016 for Mac - Multiple Issues, Error 17884 - Microsoft Community