
StephenA.63816 (MMC) asked a question.
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

Stephen,
Hope this helps:
appNotes = $app.settings.notes.admin;