To delete all contacts & contacts groups from particular lync user, first we have to find out the internal ID of the lync user. Through “rtc” SQL server database of lync, we can easily find it from “Resource” table. Eg: Lync user Sign-In Address :…