Skip to main content

#Security66 personnes en discutent

Discutez-en dans Slack pour obtenir des réponses plus rapides et une aide en temps réel.
Hi,

I'm trying to access Named Credentials to send a HttpRequest in my apex code and I'm getting the following error:

15:41:55:098 EXCEPTION_THROWN [32]|System.CalloutException: We couldn't access the credential(s). You might not have the required permissions, or the external credential "test_external_cred" might not exist.

My Name Credentials have an External Credetial called "test_external_cred" for Authentication.  Please suggest a way to resolve this.
5 réponses
  1. 30 oct., 15:02

    Adding to Juan's answer, because principal access alone wasn't enough when we tested it. Full write-up with the round-by-round results: 

     

    https://revecast.io/resources/salesforce-how-to/salesforce-named-credential-couldnt-access-credentials/?utm_source=trailblazer&utm_medium=community&utm_campaign=guides-2026-q4&utm_content=named-credential-access

     

     

    The user running your Apex needs both of these, ideally in one permission set: 

     

    1. External Credential Principal Access → Edit → add the principal from test_external_cred (create one under Principals first if it has none, as Juan says). 

    2. Object Settings → User External Credentials → Read. 

    3. Assign it to the user the code actually runs as. If it works in Execute Anonymous but not elsewhere, the code is running as someone else: another user, the Automated Process user for platform event triggers, or whoever scheduled the job. 

     

    In our test, a standard user with only step 1 still failed, with a new error: "You don't have read permissions on the User External Credential object." With both steps it returned HTTP 200. 

     

    We ran it in a Salesforce org with Revecast Orchestrate. The guide also has a small Apex snippet that logs exactly which permission is missing.

Hi community, this question is mainly for auditing capability purposes.

 

Understood that there is a way in Event Monitoring to identify what reports were exported and downloads. However, is there a way to identify what was queried from Salesforce backend system? Eg. Admin exported some data in csv format from SOQL ran in workbench, or from dataloader.

 

Thanks!
4 réponses
  1. 30 oct., 13:49

    Does this functionality exist now or still unavailable? We really need an option to track these exports for audit purposes. Thank you!

I made the custom object called "Program" and made a "Type" field with picklist with the values of trail. Then, I follow the next steps and finished the trail, but I still receive the error that the "Type" field not find in the Program object. I don't know what I need to do. 

 

 

 

 

#Trailhead Challenges  #Security  #Salesforce Admin

2 réponses
  1. 27 oct., 00:34

    Hi , 

     

    Please try checking the "required" box. It is likely that your FLS settings are incorrect.

MS Outlook uses PST (Personal Storage Table) file format to store your mails and other mailbox items. There is a limited size of PST file and if it exceeds that size limit, then the file becomes corrupted.Microsoft outlook does not provide any facility to directly split large pst file into small pst file.  

MS Outlook uses two types of PST files, one is ANSI PST and the other is Unicode PST.

1. The ANSI PST file format has a size limit of 2 GB and was used with MS Outlook 2002 and earlier versions.

2. Unicode PST file provides up to 20 GB size limit, which is used with MS Outlook 2003 and its later versions.

Heavy and Oversized PST contributes equally in making PST management challenging. As size of PST increases more than its limitation then users have to face lots of problems.Outlook users need to manage their PST file size properly time to time. Reduction of PST files size necessary for better file management. But as you reduce PST file size, there would be possibility of data loss.

Don't Worry Reduce PST file Size without any loss!!

Splitting a pst file can be done wtih Archive feature in Outlook. But split through archives prcoess can take yearly (or any other amount such as quarterly, or every 2 years.

I've had the same problem with oversized PST some time ago, so I found best Split PST Tool – Split Large PST Files into Small Ones divides PST file into manageable and smaller PST files as per the specific criterion like size, date, folder and email id, and protects them from any corruption issues because of file size limits.Performs risk-free operation of PST file splitting without making any change on the content or structure of original PST file and the original formatting or RTF and HTML messages.

 

Split PST File into smaller Parts

{ Also available in Corporate License and Home User’s License }

Download now : http://www.mannatsoftware.com/stellar-phoenix-split-pst.html

 
28 réponses
  1. 24 oct., 06:00

     If you have a large Outlook PST file, splitting it into smaller parts can make email storage, backup, and archiving easier. A dedicated PST split tool can divide the file by size, date range, year, or folder without requiring you to move emails manually.

    For Windows users, the MailsDaddy PST Split Tool is designed to split oversized PST files into smaller files while retaining emails, attachments, metadata, and folder structure. It supports ANSI and Unicode PST formats and works without requiring Microsoft Outlook to be installed. This can be useful when managing large email archives or organizing PST files for future use.

    Before splitting, make a backup of your original PST file. Afterward, verify the smaller files to ensure your important emails and folders are accessible. 

how to control object permissions for Files, AccountContactRelation and Tasks(Activity) objects in salesforce

1.Can see Tasks and ACR objects but they have only FLS 

2. Cant able to find Files or Notes and Attachments object itself in profiles

3 réponses
  1. 23 oct., 16:58

    Object level settings for Account Contact Relationships is controlled by Account and Contact objects. 

    To create, edit, or delete Account Contact Relationships you would require Read on accounts and Edit on contacts. 

    To view Account Contact Relationships you would require Read on accounts and contacts. 

     

    Related documentation:

    https://help.salesforce.com/s/articleView?id=sales.shared_contacts_create_and_edit.htm&type=5

Than Hoang a posé une question dans #Security Center

 

Urgent Support Required – High-Risk Security Vulnerabilities Identified in Tableau Server by ZAP Scan

 

Dear Tableau Support Team, 

 

We are currently using Tableau Server for our internal business operations. Recently, our internal Security team conducted a security assessment using OWASP ZAP and identified several security vulnerabilities that require further investigation and remediation. 

 

The scan results identified the following high-risk findings: 

 

Vulnerability Name Risk Level Number of Instances 

Path Traversal High 1 

SQL Injection – SQLite 2 

Vulnerable JS Library 1 

 

These findings raise serious security concerns for our organization. In particular, the high-risk vulnerabilities could potentially expose our Tableau Server to security threats and pose significant risks to our business operations and information security compliance. 

 

Please treat this request as a high priority and provide us with a detailed response and actionable remediation plan at your earliest convenience. 

 

#Security Center  #Security Review  #Security  #Security Review Stage

1 réponse

Our Tableau server's SSL certificate (from GoDaddy) expired today so we installed a new one. Users who browse to our Tableau site with Chrome or with Edge have no problems and the browsers indicate that the cert is trusted and good until March. However, three of our users are using Tableau Desktop 26.2.2783. One of them tried to use 'activate by logging into a server' and chose our Tableau server, but received the error 'cannot connect to Tableau Server, server's certificate is not trusted'. 

 

I have confirmed that this user has no problems accessing our Tableau site via browser. it's just the app that gets the certificate error. 

 

#Tableau Desktop & Web Authoring  #Security

3 réponses
  1. 22 oct., 07:30

    Glad you got it working. What you found points to the actual cause, though: the server isn't sending the GoDaddy intermediate certificate along with yours. Chrome and Edge quietly fetch a missing intermediate on their own, so the site looks fine in the browser. Tableau Desktop doesn't do that, so it fails unless the intermediate is already in that machine's certificate store, which is why installing the .p7b fixed that one PC.  

     

    It may also explain why it broke exactly at renewal: GoDaddy has been moving renewals to a new intermediate (R1), so if the server still has the chain file from the old certificate, it won't match the new one.  

     

    If you fix it on the server instead, you won't have to repeat it on every Desktop machine. Tableau Server wants PEM files, not the IIS ones. Download the certificate again from GoDaddy and choose Apache (or Other) as the server type, which gives you your .crt plus a second file with "bundle" in the name. That bundle is the chain. In TSM go to Configuration > Security > External SSL, add it as the certificate chain file next to your cert and key, save and apply pending changes.  

     

    Or from the command line:  

    tsm security external-ssl enable --cert-file .crt --key-file .key --chain-file tsm pending-changes apply  

     

    To check what the server sends: openssl s_client -connect yourserver:443 -showcerts. You should see your certificate and, under it, GoDaddy's intermediate (the bundle can add a cross-signed root too, so two or three is fine). If only yours shows up, the chain isn't being sent. Applying the change restarts services, so do it out of hours 

Hey everyone,

i have a really dumb question but I just don't know where else to look for help. 

I generated a temporary code for a user that Im not being able to log in using the password I reset. Where is the link to this user login using the code I generated as admin? because the salesforce login page asks only for the password, it does not show an option to use a code instead. 

Thanks  

5 réponses
  1. 19 oct., 20:42

    The temporary code may belong to a different authentication step rather than the standard password field. Could you clarify how the admin generated it? That would help identify the correct Salesforce login process.

Hi Trailblazers, 

 

We recently encountered an issue with Salesforce Mobile App v264 on iOS, where our LWC and Aura components embedding external pages through iframes stopped loading. Everything still works fine on Android, desktop, and older iOS versions

. 

 

After investigating with Salesforce Support, we found that adding our domain under Session Settings → Trusted Domains for Inline Frames

 resolves the issue. 

 

Support explained that Salesforce introduced this change immediately to address a potential security risk involving session token exposure. We fully understand the importance of this security improvement. 

 

However, this creates a challenge for ISVs. Our managed package was already working in customer orgs, but following this change, customers must manually update their settings to restore functionality. This is particularly difficult when supporting many customer orgs. 

 

@Daniel Ballinger, we would really appreciate your guidance. Would it be possible to make this configuration packageable in managed packages, or provide another solution to avoid requiring manual changes in every customer org? 

 

Thank you for your time and guidance! 

 

cc:

@Kevan Moothien

 

#Salesforce Developer  #ISV Partner  #Appexchage Apps  #Appexchange Packages  #Security

Sanjay Kumawat a publié du contenu dans #Salesforce Admin

Hello All, 

We are currently facing an issue with the Salesforce Connector for Google Sheets. We have been unable to export Salesforce reports to Google Sheets using the connector. 

We are receiving the following error message: 

"In order to get all of the report data, disconnect and re-authorize the Add-on from Salesforce using Help > Connection Information > Disconnect Add-on. Once disconnected, log in to Salesforce again using the Add-on." 

Based on our initial findings, we suspect that this issue may have been caused by the recent MFA enforcement in the Production environment.  

Each time a user tries to export a report, a new verification window opens and asks for an MFA verification code.

We are using the Salesforce Connector and have followed the instructions provided in the error message. After reconnecting, the export works only up to 2,000 records, and then the connection fails again.

Is there any workaround or recommended solution to prevent repeated MFA prompts and allow users to export reports successfully?

 

 

 

#Salesforce Admin  #Security  #MFA  #Salesforce_connector

20 commentaires
  1. 19 oct., 08:30

    Same issue on our side. In the footer we only see the total number of records, with no disclaimer. If the report has summed number fields, the totals also appear at the bottom. 

     

    This is clearly linked to how the connector retrieves data for reports with more than 2000 rows. Switching to SOQL queries would fix it, but it means rebuilding many of our Google Sheets dashboards. 

     

    I think the only way to get Google to look at this is to leave as many reviews as possible on the Google Workspace Marketplace page of the add-on. 

     

    Alternatives identified so far:

    • SOQL queries in the connector instead of reports. These are not limited to 2000 rows, but the format of the results can differ.
    • Paid extensions such as Coefficient or G-Connector for Salesforce (Xappex), which can import reports beyond the limit.
    • Apps Script in Google Sheets calling the Salesforce REST API with SOQL and pagination. This is free but needs development and maintenance, and the Reports API would hit the same limit.

    If anyone has found another workaround, please share.