Showing results for 
Search instead for 
Did you mean: 
Advocate III
Advocate III

Authentication Setup Error

Hi everyone, 

I'm trying to follow: 

Configure single sign-on - Power Virtual Agents | Microsoft Docs after Bot suddenly receiving error :2003 (sorry the bot can't talk in a while).


I have my Azure app registration setup earlier and it used to run the bot before it encounter error. 



When i test the bot, i can't get authentication code but turn out Service Error message. (It said i need to be multi tennant...)

I have select multi tenant from my Azure account, the error is still there.


Hope to get your advise. 


Appreciate it. 





  "error": {
    "code": "ServiceError",
    "message": "Missing required query string parameter: code. Url ="


Super User
Super User

Hi @Leeyong88,


Can you double check the manifest of your App Registration in Azure Active Directory? Can you check what the value is of the accessTokenAcceptedVersion property? 



Advocate III
Advocate III

@Expiscornovus , thanks for you reply. I appreciate it. This error only happens on my test bot. 


This is what found in manifest:



When I try in my production bot, everything is clear. No error surprisingly. 

Super User
Super User

Hi @Leeyong88,

I would have expected that value to be 2, as far as I am aware that means it is multitenant.


Can you manually update the value of that property in your manifest to 2 and see if that makes a difference for you?

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Canadian Cloud 2022 768x460.png

Register for a free PVA chatbot creation workshop.

Learn how to respond rapidly to your customers and employees at scale, using intelligent conversational chatbots.

Users online (2,561)