How to Logout After Logging in Using ms-avd:connect Command (Remote Desktop Client)?
I am using the following command to connect to Azure Virtual Desktop (AVD):
ms-avd:connect?workspaceId=1638e073-63b2-46d8-bd84-ea02ea905467&resourceid=a0a0a0a0-bbbb-cccc-dddd-e1e1e1e1e1e1&username=user@contoso.com&version=0
When I run this command, it opens a Microsoft login window asking for a password. After entering the credentials, it successfully logs in and launches the app.
However, if I run the command again, it does not ask for the password and directly connects. This indicates that some login information is cached or stored.
My questions are:
- Where is this login information stored?
- How can I log out completely or clear this cached login so that the system asks for credentials again on the next attempt?
I have tried checking Windows Credential Manager and clearing browser cookies, but the behavior persists.
Any guidance on how to fully log out or clear the stored session for the ms-avd:connect
command would be appreciated!