Closed ahamin01 closed 3 years ago
@ahamin01 can you confirm what version of the module you're using, and your PowerShell version? This appears to be an issue with converting the API output to the target data type and I expect it's due to an API change that results in properties the module is not equipped to handle.
As an aside, are you able to help test the alpha release of the 2.0 version? You can install it from the Gallery with this command:
Install-Module O365ServiceCommunications -AllowPrerelease
Thanks for following up on this.
Yup, I am using already version 2, as shown below
ModuleType Version Name
Manifest 2.0.0 O365ServiceCommunications
Below is my PS version:
Major Minor Build Revision
5 1 18362 752
I am having the same error when running Get-SCMessage O365Servicecommunications module version: 2.0.0-alpha1
@ahamin01 and @lak0413 I found that the tenantparams field has been added to the message object model returned from the API. Adding this to the message class has fixed the issue.
Next I'll look into protecting against this in the future. Thanks for your patience!
I am getting several errors, as listed below, after running the command Get-SCMessage