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. )
![](https://techcommunity.microsoft.com/t5/image/serverpage/image-id/14808i320e05cd5051a1f1/image-size/large?v=1.0&px=999)
first, please make sure the soap url, authentication and ews header tabs show below:
![](https://techcommunity.microsoft.com/t5/image/serverpage/image-id/14805i5ed3fdb7e1fdb136/image-size/large?v=1.0&px=999)
![](https://techcommunity.microsoft.com/t5/image/serverpage/image-id/14804i9d0898d16998a44b/image-size/large?v=1.0&px=999)
![](https://techcommunity.microsoft.com/t5/image/serverpage/image-id/14803ifcebadfe089cd3bd/image-size/large?v=1.0&px=999)
in soape, can make response window format/indent xml right-clicking & choosing following:
![](https://techcommunity.microsoft.com/t5/image/serverpage/image-id/14806i17ae64af52d7d76e/image-size/large?v=1.0&px=999)
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:
- please go ie settings > general > settings under browsing history > caches , databases.
- delete cache files website "outlookapps.com".
- then, restart outlook 2016.
let me know if helps.
thanks,
lance
Office / Outlook / Other/unknown / Office 365 for business
Comments
Post a Comment