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 Automate / Salesforce Signout wit...
Power Automate
Unanswered

Salesforce Signout within PowerApps.

(0) ShareShare
ReportReport
Posted on by 7

Need your expert guidance..my powerApps is connected to SalesForce. when the user login for the first time it shows the environment & login screen. The end-user Choose the environment (production/sandbox/version etc.) and enters their credential and password to log in. My Requirement is to provide a Logout option in the app.  I am not able to provide an option to Logout/sign out. Any suggestion or guidance will be much appreciated.. as Exit(true); Launch("https://powerusers.microsoft.com"); is not working.

signout not happening from salesforce within /insdie the app. Is there any way that logout happens inside the powerApps application so that the user can log in again with his/her credentials? I am okay if it can be done by PowerAutomate, json, etc. 

Categories:
I have the same question (0)
  • dsravi Profile Picture
    7 on at

    I have tried all options. it allows the user to sign out from Microsoft account, not from a salesforce account. and Instead of "replace" "New" opening in the same window.
    Option 1
    Exit(true);
    Launch("https://login.salesforce.com/",Blank(),LaunchTarget.New);

    Option 2
    Exit(true);
    Launch("https://login.salesforce.com/",Blank(),LaunchTarget.Replace)

    Option 3
    aunch("salesforce logout web link",Blank(),LaunchTarget.New);
    Refresh(salesforce Connected table 1);
    Refresh(salesforce Connected table 2);
    Exit(true);

    in all the options it is not giving option to sign in or sign out from salesforce account..

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard