Find appid for App Skip to main content
https://support.okta.com/help/answers?id=9062a000000qupfqak&refurl=http%3a%2f%2fsupport.okta.com%2fhelp%2fanswers
How satisfied are you with the Okta Help Center?
Thank you for your feedback!
How satisfied are you with the Okta Help Center?
1
2
3
4
5
Very Dissatisfied
Very satisfied
Enter content less than 200 characters.
Ask Search:
Michael SmithMichael Smith 

Find appid for App

I am using the Powershell Okta.Core.Automation module and need to assign an app to a user.

The command is:
Set-OktaAppUser -AppId <appId> -UserId <userId>

How can I identify the appId required?

Many thanks,
Michael
Best Answer chosen by Michael Smith
Emilian AldeaEmilian Aldea (Okta, Inc.)
 Hey Michael,
 Emilian here with Customer Support, thanks for reaching out to us.
Finding the appID is a rather easy task - here's how you may do that:
- Either leveraging the Okta API to display a list of all available apps: {{OKTA-url}}/api/v1/apps
- Or by manually opening up the application in Okta, navigating to the URL and copying the ID from there (applies for both apps and users - for the user ID, you'll have to bring up the user's profile page)

Here's our Dev support article that contains more info on Okta API:
https://developer.okta.com/docs/api/resources/apps.html


Hope this helps!
 Best Regards,
 Emilian.