Prerequisites
Put an X between the brackets on each line to confirm you have completed them:
Describe the bug
Disconnect-TdService throws an exception.
To Reproduce
Connect to TOPdesk with a valid operator and application password.
Call Disconnect-TdService.
Expected behavior
The command executes without error.
Screenshots or Transcripts
Disconnect-TdService
Invoke-RestMethod : Object reference not set to an instance of an object.
At C:\Program Files\WindowsPowerShell\Modules\TOPdeskPS\0.1.5\TOPdeskPS.psm1:2861 char:19
-
$result = Invoke-RestMethod @parameter -ErrorAction Stop
-
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
- CategoryInfo : NotSpecified: (:) [Invoke-RestMethod], NullReferenceException
- FullyQualifiedErrorId : System.NullReferenceException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Additional context
Maybe we don't need to disconnect. Feel free to let me know and just go ahead and close this issue if that's the case. :)
Prerequisites
Put an X between the brackets on each line to confirm you have completed them:
Describe the bug
Disconnect-TdService throws an exception.
To Reproduce
Connect to TOPdesk with a valid operator and application password.
Call Disconnect-TdService.
Expected behavior
The command executes without error.
Screenshots or Transcripts
Invoke-RestMethod : Object reference not set to an instance of an object.
At C:\Program Files\WindowsPowerShell\Modules\TOPdeskPS\0.1.5\TOPdeskPS.psm1:2861 char:19
Additional context
Maybe we don't need to disconnect. Feel free to let me know and just go ahead and close this issue if that's the case. :)