christaylorcodes / ConnectWiseManageAPI

PowerShell wrapper for the ConnectWise Manage REST API
MIT License
108 stars 61 forks source link

Get-CWMCompanyContact does not return any Company identifiers #40

Closed JD405 closed 1 year ago

JD405 commented 1 year ago

The Get-CWMCompanyContact function does not return any Company identifiers in order to link the contact back to the company they are assigned to. The Company and Site values come back blank for every record I search, using "Get-CWMCompanyContact -Condition 'defaultPhoneNbr like "%########%"' -all". I was hoping to build a lookup for our phone system to pull the contact and company information for a customer when they call in.

christaylorcodes commented 1 year ago

I am not sure why they would come back as blank for you. Check the permissions of the account you are using. Get-CWMMySecurity