Skip to content

Exception calling "BeginPublishContactInformation" with "3" argument(s) #13

@tjoepies

Description

@tjoepies

Hello,

I tried using the module
Publish-SfBContactInformation -CustomActivityId 5 -Availability Away -PersonalNote "Getting Coffee" -Location "@Kitchen"

unfortunately it fails with the following error:

PS C:\Users\MyUser> Publish-SfBContactInformation -CustomActivityId 4 -Availability Away -PersonalNote "Getting Coffee" -Location "The Kitchen"
MethodInvocationException: C:\Users\MyUser\Documents\PowerShell\Modules\PSProductivityTools\0.7\Functions\Publish-SfBContactInformation.ps1:132
Line |
 132 |              $Publish = $Self.BeginPublishContactInformation($ContactI …
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling "BeginPublishContactInformation" with "3" argument(s): ""

MethodInvocationException: C:\Users\MyUser\Documents\PowerShell\Modules\PSProductivityTools\0.7\Functions\Publish-SfBContactInformation.ps1:134
Line |
 134 |              $Self.EndPublishContactInformation($Publish)
     |              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
     | Exception calling "EndPublishContactInformation" with "1" argument(s): "Invalid asyncResult"

I have Office Professional 2016 32-bit on Windows 10 Pro 64-bit
I have also installed the necessary SDK: lyncsdk86.msi

Unfortunately I do not know how to fix this. Must the id exist in the CustomPreference.xml?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions