How does anyone handle resetting passwords in AppStream? I have users who only access the env this way and it doesnt seem like their is a native way to do password resets. My current method (since its only a few users) is to do a remote session and have them change their password on my shared screen via teams. I really need a solution that allows them to do an automated method for this. Has anyone else cracked this nut yet?
If you are using AppStream 2.0 user pools, take a look at https://docs.aws.amazon.com/appstream2/latest/developerguide/user-pool.html#user-pool-end-user-reset-password in the admin guide.
Unfortunately we are using ad services from AWS.
So are you asking how to use AppStream? Or is it unrelated to AppStream and you want to know how to update user passwords with AWS Managed AD?
We are using it with Okta, where the tile to launch an appstream session is on their Okta home screen. However, if they are a new user to have to reset password for the first access, appstream won’t connect them and prompt them to change it (ideal scenario).
I would love to use the user pool option but our application requires AD authentication.
Got the same setup at my place however with a windows domain controller. Okta is synced with the domain and the users do all password management themselves through the normal Okta tools and it’s synced through to the domain allowing the password to be used in the Appstream prompt.
Unfortunately the domains are two separate entities, so I was hoping for another solution. I may have to do a home brewed power shell script for them to do it.
I’m assuming you’re referring to password expiration - like the user has to change password every 90 days, and so has to reset it.
If that’s the case, could you use a Powershell script that launches before their apps to detect if they have a soon-to-expire password, and prompt them to change it? The Powershell script itself could then do the password change. Here’s an example: https://stackoverflow.com/questions/25311853/can-i-change-my-own-password-in-active-directory-using-powershell.
Oh I like that!!!
Thank you for this! It’s perfect I think!
If you’re using SAML with Okta, then AS2 has nothing to do with the process. It is just accepting the auth token from the Single SignOn provider. The password change needs to happen on the Okta side. You need to enable self-service password reset https://help.okta.com/en/prod/Content/Topics/Directory/eu-reset-password-self-serve.htm and ensure it’s configured to sync back to AD.
Unfortunately, the domains arent linked. And the okta tile only passes a username to the appstream env.
With a domain joined AS2 instance, the username passed to the session from the SAML provider should match the connecting user (both domain and username). The session then prompts for the user’s password because it cannot extract that from the SAML token being provided by the SSO. If you have not properly configured your SSO to sync with your underlying identity, that is your underlying issue.
There are only two solutions left and neither have anything to do with AppStream. The correct solution is to properly synchronize your identities. Barring that, you need to create a portal that allows users to update their Active Directory password.
The latter is what I need to do