<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-M74D8PB" height="0" width="0" style="display:none;visibility:hidden">
Loading
Skip to NavigationSkip to Main Content
0D54z00008qVz1ACASOkta Classic EngineAdministrationAnswered2023-02-23T16:29:47.000Z2023-02-22T20:01:47.000Z2023-02-23T16:29:47.000Z
Get Group Members in powershell

Hello

 

I am trying to get a list of users in various groups. I am trying to use the following:

$ProdGroupMembers = Get-OktaGroupMember $Group.id

 

However, $ProdGroupMembers never gets a value. If I run it from the command line w/o the $prodgroupmembers and actually specify an ID it will give me a list, but it still won't populate $ProdGroupMembers.

 

Any ideas would be greatly appreciated.

 

John

 

 


This question is closed.
Loading
Get Group Members in powershell