Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

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

carl_hensley1
Giga Expert

When you log into the MID are you using the same user that the mid server service is using to test this?

I suspect you are using an admin account that has more access

I added the same account in MID Server's "Log on" section.

alexgg57
Tera Expert

I know this is old post, but I found this by searching the same error we just facing with SanDiego version.

What was the resolution of that?

 

Thanks,
Alex.

@alexgg57 facing the same issue. Can you please let me know if you were able to fix this?