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 / How can I add a logout...
Power Apps
Unanswered

How can I add a logout facility to a PowerApp which uses a custom connector to a serverless API protected by AD or ADB2C?

(0) ShareShare
ReportReport
Posted on by 38

We are using a PowerApp which makes calls, via a custom connector, to a serverless Azure API (done via http triggered Azure functions) protected by ADB2C.

The API behaves slightly differently for different users, e.g. accesses different data.

We want users to be able to logout and then log back in as a different user.

 

How can we do that? Conceptually I can see that we could add a Logout method to the API, and include that in the custom connector's methods.  But what code should the Logout method actually have (given that the user is going to be returned not to some different url within a website, but to somewhere within the PowerApp)?

 

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 342 Super User 2026 Season 2

#2
M Bilal Khan Profile Picture

M Bilal Khan 258

#3
Mohsin Ali Profile Picture

Mohsin Ali 231

Last 30 days Overall leaderboard