web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Usage of JSESSIONID, t...
Power Apps
Unanswered

Usage of JSESSIONID, tokens and bearer requests with On Premise API solution

(0) ShareShare
ReportReport
Posted on by 161

Greetings, I have tried to review several articles such as 

https://powerusers.microsoft.com/t5/Building-Power-Apps/Dynamic-value-for-an-HTTP-header-in-Custom-Connector-Policy/m-p/2036323#M509436 to help solve this issue but am still facing challenges.

 

I have an on premise gateway setup to reach an internal API. The API uses the following calls for LDAP based authentication

1) GET https://host:port/app/api/v3/token

 

using headers from step 1 and body of username/pw.

 

When I run step 1 via custom connector, it is successful but the resulting token changes every time. It seems to not be using the same session each time and this invalidates the attempt at step 2, Login.

 

Has anyone had success authenticating against an LDAP based, on-premise API token solution? 

 

We have the same API solution in the cloud and I am able to connect via a simple HTTP flow, but doesn't seem possible with OPGW.

 

Thanks!

Categories:

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 248 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 192 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 135

Last 30 days Overall leaderboard