Error while running powershell script in azure sentinel


I am trying to run powershell script to add playbooks in Azure Sentinel,


Errors coming: 

The term 'Out-GridView' is not recognized as a name of a cmdlet, function, script file, or executable program. Check the spelling of the name, or if a path was
| included, verify that the path is correct and try again.


Cannot validate argument on parameter 'Subscription'. The argument is null or empty. Provide an argument that is not null or empty, and then try the command again.


Any idea, how to fix it?

2 Replies

@FahadAhmed Which version of PowerShell are you running?

@Gary Bushey , its showing version 7.1.4


Name Value
---- -----
PSVersion 7.1.4
PSEdition Core
GitCommitId 7.1.4
OS Linux 5.4.0-1058-azure #60~18.04.1-Ubuntu SMP Tue Aug 31 20:34:46 UTC 2021
Platform Unix
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion 2.3
WSManStackVersion 3.0