cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SebAndritz
Regular Visitor

Get item after "For a selected item" fails for owner

I'm trying to get an item that was selected in a SharePoint list.

It always fails when i try to run that flow with the user that created the flow, the list and the item, is site owner and global admin.

I however added a new user as owner of the flow and when he runs the flow everything runs smoothly, independent of who created the item. If i change the trigger to "Item created" everything also works.

I have created two Testflows, one with selected (selected) and one with created (created) trigger.

This is the fail body:

{
  "error": {
    "code": 502,
    "source": "flow-apim-europe-001-francecentral-01.azure-apim.net",
    "clientRequestId": "8a0ce71a-a731-40dd-96d6-ca240af5caec",
    "message": "BadGateway",
    "innerError": {
      "message": "Gateway on endpoint '<ii>sb://wabi-west-europe-relay7.servicebus.windows.net/65cf12e0-cc9e-4b3e-b107-d97f682443cf/</ii>' is unreachable.\r\nclientRequestId: 8a0ce71a-a731-40dd-96d6-ca240af5caec",
      "status": 502,
      "source": "https://sharepointonline-ne.azconn-ne.p.azurewebsites.net/datasets/https%253A%252F%252Fandritztest.sharepoint.com%252Fsites%252FGroupprovisioning/tables/48468cda-f186-4d9f-bcb3-0522ee8230f7/items/9",
      "errors": []
    }
  }
}

Can anybody help here, seems quite obscure.

 

1 ACCEPTED SOLUTION

Accepted Solutions
v-bacao-msft
Community Support
Community Support

Hi @SebAndritz,

 

Can you provide a full screenshot of your Flow configuration?

It seems that the link you provided is currently inaccessible.

What do you mean is that when you trigger Flow as owner, an error occurs, and other users act as owner to trigger Flow but there is no problem?

If the error code 502 appears, the failure may be temporary or transient. Please Click or tap Resubmit to try the flow again.

If the problem still exists, please let me know and provide more details, we would provide a proper workaround for you.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
v-bacao-msft
Community Support
Community Support

Hi @SebAndritz,

 

Can you provide a full screenshot of your Flow configuration?

It seems that the link you provided is currently inaccessible.

What do you mean is that when you trigger Flow as owner, an error occurs, and other users act as owner to trigger Flow but there is no problem?

If the error code 502 appears, the failure may be temporary or transient. Please Click or tap Resubmit to try the flow again.

If the problem still exists, please let me know and provide more details, we would provide a proper workaround for you.

 

Best Regards,

Barry

Community Support Team _ Barry
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Hi,

 

seems like the Problem was temporary, today my flow was deactived and permissions were invalid. After reactivating both the flow works as expected.

UpdateFlow.png

The Flow did fail if I started it with my account, with a normal user account which also was added as owner, it ran normally.

The only advisory i found was SP148979 which i guess could be related to the issue but i don't want to jump to any conclusions.

 

Thanks for the support!

Kind regards,

Sebastian

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Top Solution Authors
Users online (2,350)