Connect-ExchangeOnline from AWS PowerShell lambda throws PSRemotingTransportException #1811
Replies: 4 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, |
|
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 |
|
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. |
|
I'm going to close as last update was in 2022. If you still see problems when using PowerShell in Lambda, please open a new issue. |
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions