cohesity / cohesity-powershell-module

This repository provides a PowerShell Module for Cohesity DataPlatform. https://cohesity.github.io/cohesity-powershell-module
Apache License 2.0
42 stars 16 forks source link

connection to cohesity doesn't work #231

Open petjak opened 1 year ago

petjak commented 1 year ago

hello

I am not even able to connect to the cohesity cluster. Something needs to be configured on a cluster to accept this kind of connections?

image

pyashish commented 1 year ago

Sorry about that. Is MFA enabled ? if yes. Did you add MFA code on the above prompt ?

petjak commented 1 year ago

Hey. MFA is enabled and where should I put the code? I thougt I is prompted after execution. I haven't seen any info about that in the GuideP. -------- Original message --------From: Ashish Bhat @.> Date: 9/7/23 12:41 AM (GMT+01:00) To: cohesity/cohesity-powershell-module @.> Cc: petjak @.>, Author @.> Subject: Re: [cohesity/cohesity-powershell-module] connection to cohesity doesn't work (Issue #231) Sorry about that. Is MFA enabled ? if yes. Did you add MFA code on the above prompt ?

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

pyashish commented 1 year ago

You put it after the prompt : Enter MFA code

petjak commented 1 year ago

Hiit unfortunatelly fails immediatelly and I am not able to react on that promptPeter -------- Original message --------From: Ashish Bhat @.> Date: 9/19/23 11:14 PM (GMT+01:00) To: cohesity/cohesity-powershell-module @.> Cc: petjak @.>, Author @.> Subject: Re: [cohesity/cohesity-powershell-module] connection to cohesity doesn't work (Issue #231) You put it after the prompt : Enter MFA code

—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

pyashish commented 1 year ago

Sorry about that. We have tested this on core and powershell, both work as expected. Probably worth creating a support case and working on it ?

KavishreeShanmugam11 commented 1 year ago

Hi @petjak , It happens when we use it in powershell ISE. It fails to wait and accept user input in powershell ISE.