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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Copilot Studio / Authentication Setup E...
Copilot Studio
Unanswered

Authentication Setup Error

(0) ShareShare
ReportReport
Posted on by 108

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. 

Leeyong88_0-1642865139740.png

 

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. 

 

Regards, 

LeeYong

 

{
 "error": {
 "code": "ServiceError",
 "message": "Missing required query string parameter: code. Url = https://token.botframework.com/.auth/web/redirect?error=invalid_request&error_description=AADSTS50194%3a+Application+%2737511936-60b9-4593-8974-9bf70213fd64%27(RObot)+is+not+configured+as+a+multi-tenant+application.+Usage+of+the+%2fcommon+endpoint+is+not+supported+for+such+applications+created+after+%2710%2f15%2f2018%27.+Use+a+tenant-specific+endpoint+or+configure+the+application+to+be+multi-tenant.%0d%0aTrace+ID%3a+5848a19f-d91b-4c05-af41-1f2e50990d00%0d%0aCorrelation+ID%3a+07072ada-656c-4fda-a129-808045f49ae0%0d%0aTimestamp%3a+2022-01-22+15%3a10%3a30Z&state=147a20fe624a4975a3a9d7f4f2f3218c"
 }
}

 

Categories:
I have the same question (0)
  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at

    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? 

     

    manifest_access.png

  • Leeyong88 Profile Picture
    108 on at

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

     

    This is what found in manifest:

    "accessTokenAcceptedVersion"null,

     

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

  • Expiscornovus Profile Picture
    33,195 Most Valuable Professional on at

    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?

  • Angerfist Profile Picture
    13 on at

    Hi,

    Found this since im having same issue, followed that guide and get this error below. It shows right after choosing user, not entering password. But when i changed null to 2 i now get to enter password and user authenticator but after that i get same message again.

    {
     "error": {
     "code": "ServiceError",
     "message": "Missing required query string parameter: code. Url = https://europe.token.botframework.com/.auth/web/redirect?error=access_denied&error_description=AADSTS650057%3a+Invalid+resource.+The+client+has+requested+access+to+a+resource+which+is+not+listed+in+the+requested+permissions+in+the+client%27s+application+registration.+Client+app+ID%3a+75eb0b10-414a-4be7-82ba-b833ada2b221(Cheffelo+Chat+Companion+(Power+Virtual+Agents)).+Resource+value+from+request%3a+https%3a%2f%2fmanagement.core.windows.net%2f.+Resource+app+ID%3a+797f4846-ba00-4fd7-ba43-dac1f8f63013.+List+of+valid+resources+from+app+registration%3a+00000003-0000-0000-c000-000000000000.+Trace+ID%3a+690aa4ff-98f7-4966-9ccf-368619a12200+Correlation+ID%3a+37cffc17-bcb8-4c81-ac15-ef435b17f7d5+Timestamp%3a+2023-12-08+12%3a05%3a34Z&state=5bdb2b3afe474d47b96efc8006c9cbaa"
     }
    }
    -------------

     

  • Angerfist Profile Picture
    13 on at

    @Leeyong88 What Resource URL did you use there? in Copilot authentication setup

  • Angerfist Profile Picture
    13 on at

    now im getting this, any hints?

    Angerfist_0-1702045998574.png

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Copilot Studio

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 251 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

Romain The Low-Code... 201 Super User 2025 Season 2

#3
S-Venkadesh Profile Picture

S-Venkadesh 93 Moderator

Last 30 days Overall leaderboard