We created a custom copilot in copilot studio and used manual authentication and deployed it in teams.
When a user first time access the copilot from Teams by using the App and start the conversation, copilot will ask for login and after user login, it will continue with conversation. The login will never appear again. We want to reproduce this first time login because we need to solve an issue.
When will the login reappear for the user after the first time login?
In Microsoft Teams, the login prompt for a custom Copilot using manual authentication typically appears the first time a user accesses the app and completes the initial authentication. However, after that first login, it will persist the authentication token until it expires, which is typically determined by the token's lifespan or the refresh interval set in your authentication flow.
Can you try,
If the user clears their Teams cache or logs out of Teams completely, they may be prompted to log in again.
If you’re troubleshooting and need to reproduce the login, you could temporarily set a short token expiration time, which should prompt users to reauthenticate after the set interval.
Any modifications to the bot’s authentication settings in Copilot Studio or the app manifest could trigger a new login prompt, especially if tokens are invalidated as part of the update.
Thanks.
Was this reply helpful?YesNo
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.