Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
doctornick0
Frequent Visitor

Prevent Authentication Credentials from Saving

Hi, everybody,

 

I have a connection to Salesforce Objects that, for whatever reason, keeps saving my authentication settings.  I want the user to be prompted to use their Salesforce login whenever they run the query, which works when I go into the Data Source Settings and Edit Permissions > Delete Credentials (the Salesforce OAuth prompt comes up as expected when running the query after this).  However, whenever the other users run that query again, it then saves their Salesforce credentials, and gives the next user an error message when trying to re-connect (instead of asking them to log-in).

 

I'm trying to avoid having my users go into the Data Source Settings to delete the saved credentials every time they need to run the query, is there a way to get Power BI to refrain from saving these credentials?

 

Thanks for your help!

-doctornick0

1 ACCEPTED SOLUTION
v-yuezhe-msft
Employee
Employee

@doctornick0,

In the case of using DirectQuery or connect live mode to connect to some data sources(SQL Server, SSAS), Power BI Desktop will prompt user to login with their own account each time a different user opens the PBIX file.

However, for salesforce object data source, it is not possible to prevent authentication from saving as you describe. In your sceanrio, you can consider to configure Row Level Security in the PBIX file and share dashboard to users in Power BI Service.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yuezhe-msft
Employee
Employee

@doctornick0,

In the case of using DirectQuery or connect live mode to connect to some data sources(SQL Server, SSAS), Power BI Desktop will prompt user to login with their own account each time a different user opens the PBIX file.

However, for salesforce object data source, it is not possible to prevent authentication from saving as you describe. In your sceanrio, you can consider to configure Row Level Security in the PBIX file and share dashboard to users in Power BI Service.

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.