Skip to main content

Notifications

Power Automate - General Discussion
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. 

  • dsravi Profile Picture
    dsravi 7 on at
    Re: Salesforce Signout within PowerApps.

    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard