
bec5n (bec5n) asked a question.
I have recently been introduced to Okta and one of my first tasks is to complete an audit of users in Okta. I have been shocked to find out that there is no export feature with Okta itself and the last time anyone updated about it was 3 years ago. Here's the rub, all solutions relate to using Powershell which I have almost zero knowledge of how to do. I need to be able to pull profile information associated with each account.
I found a post leading to the following site in Github: https://github.com/adrwh/okta-tools/blob/master/Export-AllOktaUsers.ps1
I can generate the API token and paste it but I am unsure if I am doing the Resource Endpoint correctly (my understanding after digging is I need an URI (not URL) but I can't figure out how to find it) and I keep getting an error with the $json line:
*Write-Output "($Users).count:OK"
convertfrom-json : Invalid JSON primitive: .
At line:16 char:31
+ $json = $result.Content | convertfrom-json
+ ~~~~~~~~~~~~~~~~
+ CategoryInfo : NotSpecified: (:) [ConvertFrom-Json], ArgumentException
+ FullyQualifiedErrorId : System.ArgumentException,Microsoft.PowerShell.Commands.ConvertFromJsonCommand
Cannot index into a null array.
At line:19 char:5
+ $url = $next
+ ~~~~~~~~~~~~
+ CategoryInfo : InvalidOperation: (:) [], RuntimeException
+ FullyQualifiedErrorId : NullArray
I have never run into the term JSON and I have no idea where to go next to try and troubleshoot this further. I have tried some googling but to say I am a bit lost is an understatement.

Hi Melissa, Not sure if you tried the RockStar plugin. If not please check here.
https://developer.okta.com/blog/2021/02/08/use-okta-like-a-rockstar
It has a feature to export based on the condition you are trying to get report for.
I finally got back around to this and yes it did resolve my issue. Thank you so much!