installed O365ServiceCommunication module and tried executing script but I am getting following error. Please help.
Invoke-RestMethod : Sendera:UnauthorizedUnauthorized
At C:\windows\system32\windowspowershell\v1.0\Modules\O365ServiceCommunications\1.2\functions\New-SCSession.ps1:59 char:22
+ Cookie = Invoke-RestMethod @Splat | Select-Object -Expand ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Invoke-RestMethod : Sendera:BadRequestBad Request
At C:\windows\system32\windowspowershell\v1.0\Modules\O365ServiceCommunications\1.2\functions\Get-SCEvent.ps1:79 char:3
+ Invoke-RestMethod @Splat | Select-Object -ExpandProperty Even ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (System.Net.HttpWebRequest:HttpWebRequest) [Invoke-RestMethod], WebException
+ FullyQualifiedErrorId : WebCmdletWebResponseException,Microsoft.PowerShell.Commands.InvokeRestMethodCommand
Invoke-RestMeth
At C:\windows\syst
+ Cookie = Invoke-RestMeth
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperatio
+ FullyQualifiedE
Invoke-RestMeth
At C:\windows\syst
+ Invoke-RestMeth
+ ~~~~~~~~~~~~~~~
+ CategoryInfo : InvalidOperatio
+ FullyQualifiedE