<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
0D50Z00008VrY4jSAFOkta Classic EngineAdministrationAnswered2025-03-05T13:04:26.000Z2018-10-31T13:15:17.000Z2022-02-19T12:15:05.000Z
Retrieving Application Info with with Powershell - Including the Notes

Hello

 

With over 900 applications in our Okta tenant I audit the applications each month to find any new apps created. To do this I'm using powershell (code below) to get some basic info on each app. Okta recently added the Admin and User Notes feature for applications (you can find this on the general tab of an app - EA feature). 

I would like to be able to get this information with powershell preferably or Postman but not found a way to get it yet. Postman returns a lot of info onthe app but not the notes info.

Postman - {{url}}/api/v1/apps/{{appid}}

 

Powershell

I use the below to retrieve all applications in Okta and export the desired properties to a csv file. I'm trying to determine the property for the Admin Notes but not manged it yet.

 

$apps = oktaListApps

$export = New-Object System.Collections.ArrayList  

foreach ($app in $apps)  

{  

 $line = @{  

    id = $app.id  

    Type = $app.name

    label = $app.label  

    lastUpdated = $app.lastUpdated

    created = $app.created

    signOnMode = $app.signOnMode

    usernametemplate = $app.credentials.userNameTemplate.template

    usernametype = $app.credentials.userNameTemplate.type

    username = $app.credentials.userNameTemplate

    BookmarkURL = $app.settings.app.url

    EmbeddedLink = $app._links.appLinks.href

    Status = $app.status

    }  

 $object = New-Object psobject -Property $line  

 $_c = $export.Add($object)  

}  

$export | Export-Csv -Path C:\scripts\OktaProdAppsv2.csv -NoTypeInformation


  • 1phq3 (1phq3)

    Stephen,

     

    Hope this helps:

     

    appNotes = $app.settings.notes.admin;

     

    Selected as Best
  • Thank you for posting on our Community Page.

     

    I've just listed, by using Postman, all properties of two of my apps (one that has both admin, and user notes) and one that doesn't have neither of them. The notes property was not listed for either of them (I've checked both the JSON file and the console response).

     

    By the look of it, I don't believe that this property can be called in any way (mostly because the feature is in EA and not fully implemented yet).

     

    Thank you,

     

    Paul Auer

    Technical Support Engineer | Okta

    Expand Post
  • mike.davie1.5312945692819849E12 (Customer First Programs)

    Hello Stephen,

     

    Thanks for posting your inquiry in Okta Community Portal.

     

    If you receive a great answer to your question(s), please help readers find it by marking it the best answer. Hover over the answer and click "Best Answer."

     

    Thank you,

    Mike Davie

    Okta Help Center

     

    Expand Post
  • RobP.44574 (Customer)

    Has this feature been made available? We would love to be able to get app descriptions via the api or powershell

  • 1phq3 (1phq3)

    Stephen,

     

    Hope this helps:

     

    appNotes = $app.settings.notes.admin;

     

    Selected as Best
  • Hi There

     

    Thank you for taking the time to answer such an old post. I had completely forgotton about this one until now.

     

    Your answer does indeed work!

    appNotes = $app.settings.notes.admin;

     

    Best Regards,

     

    Steve

     

    Expand Post
This question is closed.
Loading
Retrieving Application Info with with Powershell - Including the Notes