Getting an Access denied - PowerShell script execution failed | Exchange spoke in flow designer
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-05-2023 01:34 PM
Hi,
I am trying to use Exchange server spoke in servicenow flow designer.
I had created the connection as below,
When i trying to test the action Look up Mailbox I am getting the below error,
We have the permissions to get the mailbox details. But still could u please also confirm what are the permissions required for the account to get mailbox details, enable mailbox, create mailbox.
Could you please help me to fix this issue.
Thank you.
Regards,
Laxmi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2023 10:46 PM
Hi,
Did you get this resolved? If so, what was issue as I'm facing the exact same problem. Thank you.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-15-2023 02:07 PM
Same here, I first thought it was our service account getting intermittently locked out, but I was able to rule that out. I thought then it might be that the service account was lacking permissions to certain OU's in the Active Directory, but the action works when reattempted at a later time. I then created a new integration with a different set of credentials and witnessed the same 'access denied' error when executing the mid server powershell script.
This is causing automation errors everyday. I found KB0750852 which seems to speak to the issue but not sure I understand it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-18-2024 08:21 PM
Did anyone find a solution for this?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-14-2025 04:26 AM
Hello all,
Good day..
I'm also facing the same issue.
Was anyone able to fix this?
Thanks,
Siva