Contact Imports
 
Notifications
Clear all

Contact Imports

13 Posts
2 Users
0 Reactions
16.6 K Views
Posts: 0
Topic starter
Joined: 1 second ago

Update:

If I use get-mailcontact instead of get-contact, the customAttribute1 is there and shows populated with the customer ID.

So maybe the import is using the wrong command to locate the mail contact?

Reply
Posts: 1600
Admin
Noble Member
Joined: 10 years ago

When CloudPanel loads this page it does the following:

  • Retrieves the company’s DistinguishedName from the database
  • Queries Microsoft Exchange with command: “Get-MailContact -OrganizationalUnit [Company DistinguishedName] -ResultSize Unlimited”
  • Compares the GUID with all contacts for that company already in the database and the GUID for all contacts retrieved from Exchange
  • Returns only contacts not in database

So if you run that same command on Exchange, do you get all the contacts for that company?

Reply
Posts: 0
Topic starter
Joined: 1 second ago

Yes, if I run get-mailcontact -OrganizationalUnit COA -resultsize unlimited, (COA being the company ID), I get the list of contacts.

When I look at the dbo.exch_Contacts table in SQL it is empty (Top 1000?rows)

-steve

Reply
Posts: 1600
Admin
Noble Member
Joined: 10 years ago

I thought I read somewhere that you upgraded CloudPanel? Are you on the latest of 3.1.1005?

Reply
Posts: 0
Topic starter
Joined: 1 second ago

Yes, I just went from 3.1.1005 to 3.1.1540 yesterday.

This was happening in both

-steve

Reply
Page 2 / 3
Share: