<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
0D54z0000AIFh3qCQDOkta Classic EngineDirectoriesAnswered2026-03-16T09:00:23.000Z2024-11-21T16:03:03.000Z2024-11-29T16:55:07.000Z

21ykg (21ykg) asked a question.

How to get report from Okta which contains user ids and respective group ids

I want to know that how can we can a report from Okta which contains the users (that we want according to their status) with their user ids and groups ids (the group which users are part of) in a report so that I dont have to keep checking single user for its user id and which groups he belongs to for getting their group ids.


  • 7jv04 (7jv04)

    Hello!

    Try running the built in User App Access report, download the CSV export, and open it in Excel. You can then filter/hide the columns you don't want. Looks like User name, ID, Group ID, and User Status are all there.

    Selected as Best
  • 7jv04 (7jv04)

    Hello!

    Try running the built in User App Access report, download the CSV export, and open it in Excel. You can then filter/hide the columns you don't want. Looks like User name, ID, Group ID, and User Status are all there.

    Selected as Best
    • 21ykg (21ykg)

      Thank you Jacob, could you please give me the path in Okta so that I can navigate and get the report?

  • 7jv04 (7jv04)

    No problem: Go to you Okta Admin Console. On your left side navigation menu go to Reports. You will see "Entitlements and Access". Under that you will see "User App Access" linked in blue. Click on that. You will see the report and have a CSV Export button. Click the CSV Export button and wait for the download to generate. It will show up in your downloads folder. Open it with Excel and hide all the columns you don't want to see. Cheers!

    Expand Post
  • 21ykg (21ykg)

    Thank you Jacob, will I get the status of user account (eg. Deactivated, ACTIVE) as well along with user id and group id?

  • 7jv04 (7jv04)

    My pleasure to help! Yes, all the user details and more will be there.

  • 21ykg (21ykg)

    Hi Jacob,

     

    The report only contains user who are assigned to an application. Can we get the report for the users who are not assigned to any app. Also, will the report also contain the users that I deactivated in Okta?

  • 7jv04 (7jv04)

    Oh bummer,

    In that case check some of the other built-in reports to see if they have what you need. If not, consider using a Okta workflow that will build a table for you. Search through answered questions as well, you may find someone else who asked about the same thing.

  • 21ykg (21ykg)

    • Yeah!.. Actually I was able to find that report where I can get the users who are deactivated and also not assigned to any app but in that report I am not able to find their userId and groupId info. This CSV can be created by running the Okta Password Health Report from the Admin UI (Reports Reports > Okta Password Health Report) and selecting the users that need to be deleted/deactivated. but no userIds and groupIds present.

     

    Expand Post
  • 7jv04 (7jv04)

    Great! It might take some work and tricks, but you should be able to extract what you need from both reports and combine the data.

This question is closed.
Loading
How to get report from Okta which contains user ids and respective group ids