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 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 573

#2
Valantis Profile Picture

Valantis 407

#3
11manish Profile Picture

11manish 387

Last 30 days Overall leaderboard