Connect-ExchangeOnline from AWS PowerShell lambda throws PSRemotingTransportException #1811
Replies: 3 comments
-
Hi @geekganesh, Good morning. Please refer the existing issues aws/aws-tools-for-powershell#203 and #332 for details about this error and possible resolution. This error is related to OpenSSL library. Let me know if these help. Thanks, |
Beta Was this translation helpful? Give feedback.
-
I have created a AWS openssl layer to the lambda function. openssl support is available to lambda but i am getting the same error. Do i need to have my own container? Regards |
Beta Was this translation helpful? Give feedback.
-
PSWSMan rewrites shared object files when running Install-WSMan. I have not been able to get it to work with a zip. Since it takes ~1 min to connect to exchange online, I've decided to build a container image, https://github.com/nickadam/powershell-lambda, https://github.com/nickadam/exo-lambda. It's slow but it works. |
Beta Was this translation helpful? Give feedback.
-
I am trying to connect to exchange from AWS Powershell Lambda function. The script is working fine locally but throws below error when executed from AWS.
Beta Was this translation helpful? Give feedback.
All reactions