Exchange Online Integration

Mark251
Mega Guru

I need to automate some Distribution List tasks via ServiceNow however given the minimal work, the cost for the IntegrationHub module will not be approved internally.
I have PowerShell scripts that can do all I need and flow designer plan in place however I can't get SNOW to connect to Exchange Online so the powershell scripts can run without a pasword being hardcoded.
I would prefer an OAuth connection or something similar however happy to have a credential stored in SNOW if required.
The PowerShell will be stored in ServiceNow and executed on one of our 4 Mid Servers.
If I execute the Powershell independently, I need to get the credentials and establish the connection
$Credentials = Get-Credentials
Connect-ExchangeOnline -Credential $Credentials
Can someone please help he setup the trust relationship between SNOW and Exchange Online so the code can execute without additional authentication?

1 ACCEPTED SOLUTION

ServiceNow Tec2
Mega Sage
This has been resolved by ServiceNow Technical Support. Please refer to KB1114990 for more information.

View solution in original post

5 REPLIES 5

i am also facing the same