Flow Error – Exchange Online/ PowerShell Script Execution Failed / Token Error

pallavikuma
Giga Contributor

Hi All,

I am facing an issue in a ServiceNow Flow while performing actions on Exchange Online in checking mailbox size,  The flow consistently fails when trying to execute with the below errors. Also attached the error file.

Here are the details:
Error Messages:
• Failed while executing Exchange Online PowerShell script. Execution failed. Script returned status 1 using account user: svc-servicenow@domain.com
• Error acquiring token e Detail: Unexpected token E
• Unknown broker error
• PowerShell script execution failed. Script returned status 1.

Kindly help me to fix this issue.

 

Thanks & Regards,

Pallavi

1 REPLY 1

M Iftikhar
Mega Sage

Hi @pallavikuma ,

you may find the following resources helpful for troubleshooting and guidance:

These should provide guidance on configuration, permissions, and common troubleshooting steps for mailbox actions.

Thanks & Regards,

Muhammad Iftikhar
If my response helped, please mark it as the accepted solution so others can benefit as well.