Call was canceled by the message filter. (Exception from HRESULT: 0x80010002 (RPC_E_CALL_CANCELED)) error while connecting to EXO

Sarath Kumar P1
Kilo Explorer

Hi,

I'm want to create DLs in Exchange Online from ServiceNow Flow designer. I have created a HTTP connection with connection URL: https://outlook.office365.com/powershell-liveid/ and calling a MID script file in Flow designer(PowerShell Script). Below is the sample PowerShell script which I was using:

Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline -UserPrincipalName <UPN here>
Get-Mailbox -Identity <Mailbox name here>

 

I was getting an error which says call was canceled by message filter.

find_real_file.png

When I try the PS script from logging into MID server it works. I'm able to connect and create the DLs/Mailboxes from MID server PS window. I'm facing the issue only when trying it from ServiceNow. I checked all the capabilities of MID servers and they looks fine.

5 REPLIES 5

Sarfraz Nawaz
Tera Expert

@Sarath Kumar P1 can you please give any insight if you were able to get the root cause and fix for it?