web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : 4gHnI/niNGeXErOmizGINK
Copilot Studio - General
Unanswered

Manual authentication error when exporting Copilot Studio Chatbot to another environment

Like (1) ShareShare
ReportReport
Posted on 26 Feb 2024 20:10:13 by 6

Hi, This is the first time I have created a Copilto Studio Chatbot and I need to export it to another environment for testing, but I am presenting this error, I hope you can help me please: 

I have configured manual authentication in a chatbot, and it works correctly in my development environment, however, when exporting it within a managed solution and importing it into another environment for testing, I get this error code "AuthenticationNotConfigured" despite I have already configured manual authentication again with the same credentials that I used in the previous environment. I have even created a new application registration and it doesn't work either:

Kushki_OB_0-1708978115189.png

 



Thank you in advance for your help!

Categories:
  • Kushki_OB Profile Picture
    6 on 04 Mar 2024 at 15:16:31
    Re: Manual authentication error when exporting Copilot Studio Chatbot to another environment

    Hi @BoroonMahanta, what worked for us is exporting the Chatbot as a unmanaged solution, then disabling authentication and publishing the bot. After a few minutes (verifying that the changes are reflected in the demo site), we reconfigured manual authentication and published the bot again (make sure to mark the "Require sign in" checkbox again). In our case, we have to reupload the files used in the "Generative AI" module for it to work correctly, since initially we were not receiving responses in conversations that use generative AI answers. I hope this also solves your problem for now, but I think this error should be corrected by Microsoft. 

  • ManikandanS Profile Picture
    246 on 28 Feb 2024 at 03:58:05
    Re: Manual authentication error when exporting Copilot Studio Chatbot to another environment

    @BoroonMahanta - Please follow the steps mentioned in this forum and see everything handled on your end as well.

    https://powerusers.microsoft.com/t5/Building-Copilot-Studio-Chatbots/PVA-Bot-not-responding-in-Teams/m-p/2607280#M1703

     

    Thanks

  • BoroonMahanta Profile Picture
    6 on 28 Feb 2024 at 03:19:37
    Re: Manual authentication error when exporting Copilot Studio Chatbot to another environment

    This was done @ManikandanS  - it still throws the same authentication error.

  • ManikandanS Profile Picture
    246 on 28 Feb 2024 at 03:07:37
    Re: Manual authentication error when exporting Copilot Studio Chatbot to another environment

    Hello @Kushki_OB ,

    When you import bot from one environment to another, the bot will get new bot id and the environment also different. So try to repeat authentication steps from this new environment as well and see it works.

    Thanks.

  • BoroonMahanta Profile Picture
    6 on 28 Feb 2024 at 02:36:24
    Re: Manual authentication error when exporting Copilot Studio Chatbot to another environment

    Same error for our implementation - is there a solution?

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.

Helpful resources

Quick Links

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 169 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 150

#3
sandeep_angara Profile Picture

sandeep_angara 75 Super User 2025 Season 2

Loading complete