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 / Power Pages / 403 Forbidden error wh...
Power Pages
Unanswered

403 Forbidden error when calling Flow which includes a connector

(2) ShareShare
ReportReport
Posted on by 4
Hi all,
 
I created a power pages site, I then created a Power Automate Flow from within the site which generates an API Url which you use in the JS to perform a POST request to initiate the flow.  I have also modified the flows run-only permissions to use a specific connection for the, send Outlook email, action.  

Test results and conditions:
 
success:  run the flow manually in power automate.
 
success:  have no connections in the flow simply, power pages trigger > if condition > both conditions return values to power pages.  Initiated from JS in the power pages site I get a 200 OK and I can view the flow from the run history.
 
error: I have an action in the flow with a connection, i'm using send an email, initiate the flow from JS in the power pages site and I get a 403 forbidden error in developer tools (F12) and the flow does not even initiate so no entry in the flows run history.
Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    53,323 Super User 2025 Season 2 on at
    HI

    Can you share a picture of the Connection and the flow. I am assuming (probably shouldn't) that you created the Connection?
     
    For your Power Pages site is it set to Anonymous?
  • DF-07031639-0 Profile Picture
    4 on at
    Hi,
     
    Thanks for your response. Below is the flow with the connection reference, the flow runs fine when tested manually in power automate and runs fine from power pages when I remove the "Send an email (V2)".  I have assigned all web roles to the flow, see below, and have configured run-only permissions to use a specific connection and not inherit the users account.  

    I'm not quite sure what you mean by "For your Power Pages site is it set to Anonymous?"...  The site does have an anonymous web role, even if I log in with Entra ID with an account to whom I have assigned all the available web roles, it still 403 forbidden.
     
     

  • Christ0f Profile Picture
    147 on at
    Could you please share screenshots of the "Send an email (V2)" details and the advanced pane?
    The from email address in the "Send an email (V2)" action might be the issue (in my own experience)
     
     
     
     
     
  • DF-07031639-0 Profile Picture
    4 on at
    Hi,
     
    I tried using different from addresses, but also the Send Email action is set to run as a specific user and not to inherit the users info, which would set the from address to the users from address. 
     
    I found a workaround which has been working fine for now, if I call a child flow from the flow attached to the power pages site then it works, so all the work is done inside the child flow.
  • Suggested answer
    Inogic Profile Picture
    1,135 Super User 2025 Season 2 on at
    Hi,
     
    The 403 Forbidden error occurs because Power Pages does not have the necessary permissions to execute the Power Automate flow when it includes an action that requires a connection (like "Send an email").
    Have you tried the points given below,
    Permissions Issue:
    • The flow might not have proper permissions to execute when triggered from Power Pages.
    • Ensure that the service principal (Power Pages identity) has permission to use the connection.
    Run-Only Permissions Issue:
    • You mentioned setting a specific connection for the Send Outlook Email action.
    • Try adjusting the run-only user permissions in Power Automate:
      • Go to your flow → Click on Run-only users → Ensure it allows anyone triggering the flow to use the connection.
    Power Pages Web API Authentication Issue:
    • If Power Pages is using a different identity to trigger the flow, it may not be authorized to use the connection.
    • Ensure that the Power Pages Web API authentication is configured correctly.
    Thanks!
    Inogic
  • KevinGador Profile Picture
    822 Super User 2025 Season 2 on at
    encountering the same situation. Have you solved this problem?
  • ShafiuddinMohammed@JoyfulLearning365 Profile Picture
    2 on at

    Whenever you're deploying, or changing the primary owners of flows, some issues keep coming up. I've reported this to Microsoft multiple times through various support tickets. Unfortunately, the Microsoft support team doesn't seem to have even a basic understanding of the navigation or troubleshooting steps. They often just waste time without providing any real help.

    After my own research and trial and error, I found that manually adding and removing the web roles from the affected flows can sometimes resolve the issue — but even then, it takes 2 to 3 hours for the changes to reflect.

    However, I can’t confidently say this is a reliable solution. I tried it in one environment, and it worked, but in another, it didn’t. It’s clear that Microsoft is struggling to fix some of these persistent bugs, and the inconsistency is really frustrating.

  • KevinGador Profile Picture
    822 Super User 2025 Season 2 on at
    @ShafiuddinMohammed@JoyfulLearning365

    same goes with me, I tried to contact microsoft supporrt they kept asking me for network traces etc but they haven't solved anything which is really frustrating because it really impedes my development and now I have to think of a workaround instead.

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 > Power Pages

#1
Jerry-IN Profile Picture

Jerry-IN 71

#2
Fubar Profile Picture

Fubar 62 Super User 2025 Season 2

#3
sannavajjala87 Profile Picture

sannavajjala87 31

Last 30 days Overall leaderboard