We are trying to enable excel data extraction in a machine where MS office is not present. While doing that we are facing issues to enable the
Import-Excel module in SPE. We are facing the below problems:
The same issue occurred in
Windows Powershell as well. But we executed the below commands to get rid of the issue in Windows Powershell.
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
Then executed the below:
Install-Module -Name Import-Excel -Scope CurrentUser -Force
After that, able to install ImportExcel in Windows PowerShell script. But same commands got failed in Sitecore Powershell.
We are following the below article. But no luck.
Anybody has come across this issue. Can you please help us to resolve this issue?