Notifications
Clear all
General
13
Posts
2
Users
0
Reactions
16.8 K
Views
Posts: 0
Topic starter
2017-02-10 11:22
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
Admin
2017-02-10 12:17
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
2017-02-10 12:26
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
Admin
2017-02-10 13:09
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
2017-02-10 13:16
Joined: 1 second ago
Yes, I just went from 3.1.1005 to 3.1.1540 yesterday.
This was happening in both
-steve
Reply
Forum Information
- 5 Forums
- 716 Topics
- 3,649 Posts
- 0 Online
- 259 Members
Our newest member: titlewave123
Latest Post: Cannot delete company from companies tab
Forum Icons:
Forum contains no unread posts
Forum contains unread posts
Topic Icons:
Not Replied
Replied
Active
Hot
Sticky
Unapproved
Solved
Private
Closed