Skip to main content

Notifications

Copilot Studio - Publish & Channel Management
Suggested answer

ConnectorActionBadRequest

(1) ShareShare
ReportReport
Posted on by 6
Hello. I have created a Copilot Studio Bot where I used "Get my profile v2" and HTTP connector from PowerAutomate portal (without flow) where I get data. When I test HTTP connector it works correctly. I share this bot to a user, share connector and publish it in Teams channel. But when I write something in Teams to chat bot I get an error: ConnectorActionBadRequest. Do you have any ideas why I get this error? I see that tshi error happening because of the connector but also I assigned User.Read permission to App registraration of this bot to read the user profile.
 
Full error:
 
Error occured.
Error code: ConnectorActionBadRequest
Conversation ID: a:1Vd3GO2KYKj_yX7IfhQE6RxiUChaCF3rNgBBih4hK3g9HnKzQbMy3M7uWWqEZoHYHcimjUnwzyo2i7lYgu55yEJ6tiUybChKAzSk2A8xqHZ3LWWexUymU-rsRkXFnDEqS
Time (UTC): 2024-11-22T06:57:15.831Z.
Categories:
  • CU12120620-0 Profile Picture
    CU12120620-0 2 on at
    ConnectorActionBadRequest
     
    Yes everything is working fine when tested inside the copilot stuido platform.
     
    Regarding permissions of HTTP connector where I have to allow the use of HTTP connector?
  • Suggested answer
    Vinoth Selvam Profile Picture
    Vinoth Selvam 1,161 on at
    ConnectorActionBadRequest
     
    This looks like permission issue only when you say that the connector works properly when tested seperately.
     
    Is everything working fine when tested inside the copilot stuido?
     
    Please make sure the teams allow the use of HTTP connector. 
     
    Thanks.
  • alikim Profile Picture
    alikim 6 on at
    ConnectorActionBadRequest
    Update: I have tried to make HTTP request directly inside the CopilotStudio environment but now I get another error in Teams:
     
    An error has occurred.
    Error code: HttpRequestFailure
    Conversation Id: a:1pHXQYlRqNZkXnEuaGnQSGOkmd8qhkhQ_kOjMgMScWNTfRxe8Pw8DNMzYIbsK-cmyMPUUT4VGn3lRcufxdtPcH5VTnHNbRCUSV-0Gp11kJ7gqx_fALO_-aS8eIDSNNeqB
    Time (UTC): 2024-12-18T06:12:15.409Z.
     
    It says me that my HTTP request in the failed status. But as you can see on screenshots below it works when I test it in CopilotStudio platform and my HTTP request works in Postman. Any ideas guys?
     
     
  • alikim Profile Picture
    alikim 6 on at
    ConnectorActionBadRequest
    SaiRT14, I have shared this connector in Power Automate. User.Read is granted admin consent in Azure AD. Scopes: openid, profile.
  • Suggested answer
    SaiRT14 Profile Picture
    SaiRT14 1,474 on at
    ConnectorActionBadRequest
    At high level, check out the following:
    Connector: Validate the configuration and sharing in Power Automate.
    Permissions: Ensure User.Read is granted admin consent in Azure AD.
    Token Handling: Check that tokens are passed correctly and include necessary scopes.
     
    if you need more details, pls let me know.

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,867

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,174

Leaderboard

Featured topics