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 / Facing FlowActionBadRe...
Copilot Studio
Unanswered

Facing FlowActionBadRequest and AIPluginRequestFailure error responses when using Power Automate Cloud Flow and AI Builder Custom prompt plugin actions in Copilot Topics

(0) ShareShare
ReportReport
Posted on by 27

My aim is to achieve a generated response from copilot using the context prompt and project facts which I provide.

 

After following the solutions mentioned [here](@HenryJammes 

 

I tried approach 2 and 3 in the solutions mentioned above - 

 

Creating plugin actions using power automate cloud flow results in a FlowActionBadRequest error as seen below. I've also changed Run Only Users setting in my cloud flow from **Provided by run-only user** to **Use this connection** from [this](https://powerusers.microsoft.com/t5/Calling-Actions-from-Copilot/FlowActionBadRequest-when-calling-a-flow-in-Copilot-Studio/m-p/2536219#M1437) post in which the same error is faced.

 

image.pngimage (1).png

 

Creating custom prompt plugin action results in an AIPluginRequestFailure error as seen below. Additionally when I tested my prompt in the AI builder AI plugin in copilot studio, copilot generated a fine response.

 

image (2).pngimage (3).png

 

Can anyone help what I might be doing wrong here? and also help understand why I'm seeing this? Also , is this could be a possibility that permissions configured with my copilot is not right to leverage these plugin actions? 
Thank you in advance!

I have the same question (0)
  • fchopo Profile Picture
    8,003 Moderator on at

    Hi @biscuits1234 

    I tried this in a US based environment and it worked. Could you try that?

    Hope it helps!

    Ferran

  • Coderguy132 Profile Picture
    2 on at

    Hey did you ever solve this? I'm having the exact same issue and any direction would be helpful. 

  • Verified answer
    mayasol Profile Picture
    27 on at

    @Coderguy132 
    Few suggestions that worked for me

    - setup the inputs and outputs for the AI plugins and PA flows correctly

    - dont forget to turn off other topics that use the same trigger phrase when executing a topic

    - Change permission level to 'Use this connection' for PA flow action nodes

     

    Use this yt video for reference
    https://www.youtube.com/watch?v=5y_Pk-axdlw&list=PLfyogcMFT_hRJzZEM_GdQ9J9KCPEwxHeS&ab_channel=D365Goddess

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 255 Super User 2025 Season 2

#2
Romain The Low-Code Bearded Bear Profile Picture

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

#3
S-Venkadesh Profile Picture

S-Venkadesh 101 Moderator

Last 30 days Overall leaderboard