cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
New Member

Re: Desktop UI Flow - Request to XRM API failed with error: 'Message: Resource not found for the segment 'flowsessions'

I am also having this issue.

Highlighted

Re: Desktop UI Flow - Request to XRM API failed with error: 'Message: Resource not found for the segment 'flowsessions'

 

Looking at the docs, I see that to trigger a desktop UI Flow from a flow, the onprem data gateway must be configured.  To test that I've configured the data gateway on my server, tested my UI Flow (using the same one I build here) and then try to trigger that from my desktop, after configuring the UI Flow action for the gateway.  I'm still seeing errors.

 

Short demo here: https://youtu.be/h80YkHjE-Mc

 

The errors:

1) 0:12 - Resource not found for segment "flowsessions"

2) 3:03 - Error reported in the original message in this thread

Highlighted
New Member

Re: Desktop UI Flow - Request to XRM API failed with error: 'Message: Resource not found for the segment 'flowsessions'

I am also having this same issue for the Web Apps #metoo

Highlighted

Re: Desktop UI Flow - Request to XRM API failed with error: 'Message: Resource not found for the segment 'flowsessions'

@v-litu-msft  I see here in the docs it says:

  • You must use the same work or school account to set up the gateway, to sign into Power Automate, and to log into your Windows device.

I've set up a Windows server using the Azure AD login that I use for Power Automate.  I've installed the gateway and logged into it with that identity.  The error persists.

Highlighted
New Member

Re: Desktop UI Flow - Request to XRM API failed with error: 'Message: Resource not found for the segment 'flowsessions'

I'm getting the same issue =/ ... 

Highlighted
Frequent Visitor

Re: Desktop UI Flow - Request to XRM API failed with error: 'Message: Resource not found for the segment 'flowsessions'

I am also getting a resource not found error message even though, in Selenium, it works  when tested.

Highlighted
New Member

Re: Desktop UI Flow - Request to XRM API failed with error: 'Message: Resource not found for the segment 'flowsessions'

I am having the same issue as well on FlowUI. Am excited with this new feature but wish it can be fixed fast.

Highlighted
New Member

Re: Desktop UI Flow - Request to XRM API failed with error: 'Message: Resource not found for the segment 'flowsessions'

There's another limitation mentioned elsewhere on the docs site.  I wonder if this is our problem:

 

Multi-Factor Authentication (MFA) is not supported, use a tenant that doesn't require MFA.

Highlighted

Re: Desktop UI Flow - Request to XRM API failed with error: 'Message: Resource not found for the segment 'flowsessions'

I don't have MFA turned on in my environment.

Highlighted
Anonymous
Not applicable

Re: Desktop UI Flow - Request to XRM API failed with error: 'Message: Resource not found for the segment 'flowsessions'

I found the answer to this issue in the comments of the original announcement: http://disq.us/p/25hsod0

 

"That means that this feature is not yet available for your environment. You can try this out by creating a new environment, or, wait until the feature is rolled out everywhere, which will be a few weeks."

 

Also in the original announcement (Nov 6th): "The public preview of attended automation will be enabled for all new environments by the end of the week and enabled for all existing environments before the end of November."

 

Hope that helps! I created a 30 day environment to validate and all is working well with that.

 

View solution in original post

Helpful resources

Announcements
firstImage

Super User Program Update

Three Super User rank tiers have been launched!

firstImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

firstImage

New & Improved Power Automate Community Cookbook

We've updated and improved the layout and uploading format of the Power Automate Cookbook!

thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

Users online (8,607)