How to compare two profiles Salesforce

How to compare two profiles Salesforce

How often as a Salesforce administrator have you spent time trying to work out why User A can access a particular record, whereas User B (who has a different Profile) cannot?

This short post takes a look at a neat free tool from Rajiv Bhatt that helps compare profiles to help debug user access rights.

Profile Comparator is a Chrome Extension so you need to use that browser in order to add this functionality.

How to compare two profiles Salesforce
Profile Comparator page on the Chromestore

Load up the Profile record and click on the Comparator icon in the Chrome menu bar. 

Select the page you are on as "Source Page".

How to compare two profiles Salesforce
Select Source Page in Tool from Menu Bar

Load up a second profile in an additional tab. 

Then click on the same icon and select "Target Page".

How to compare two profiles Salesforce
Select Source Page in Tool from Menu Bar

Once you click on Target Page, the tool instantly compares the two profiles and highlights differences on the Target Page. 

How to compare two profiles Salesforce
Differences highlighted on the Target Profile page in bright Red

One thing that totally confused me is that the tool gives no feedback that it has refreshed, you just have to navigate down the page to see the red text highlighting the differences.

How to compare two profiles Salesforce
Object access comparisons were really clear

Also, if the tool doesn't seem to be working check that you have disabled the Enhanced Profile Interface in Salesforce. The tool will not work with that active. 

How to compare two profiles Salesforce
Go to Setup / User Interface to ensure Enhanced Profile Interface is disabled

This was a really handy tool and helped me quickly identify a different setting between 2 user profiles. Great job Rajiv! 

There were only a few small suggestions I would make to improve the tool.

  1. It is slightly confusing that there is no visual indication to show you that the comparison is ready to analyse
  2. Remember to deactivate the enhanced profile user interface and bear in mind that there is no visual indiciation
  3. The tool will not help you with Field Level Security comparisons (often a next step after you have checked profile settings)

I hope you find this tool useful. If you do install it, please rate it on the Chromestore.

Icon from Iconfinder, artist Visual Pharm

There is a very good Heroku app for the same: https://perm-comparator.herokuapp.com/

PROS: Very easy to compare multiple profiles and produce a comparison table.

CONS: Runs on Heroku server – Security concern. Also, do not give next level drill down like FLS check, apex classes

Bulk Object Field Creator: https://appexchange.salesforce.com/appxListingDetail?listingId=a0N30000000qDqqEAE

Profile and Permission Set Helper: https://appexchange.salesforce.com/appxListingDetail?listingId=a0N3A00000FeF99UAF

Arxxus Profile Comparator: https://full5-sites.cs69.force.com/appexchange/appxListingDetail?listingId=a0N3000000DY0WgEAL

PROS: Native app in Salesforce. Easy for system admin.

CONS: Do not produce as good chart as heroku app.

GitHub

Being a developer I like this as it gives you full control. But you need git + Workbench expertise

You can have two branch with a file having all metadata of a profile (which can be easily pulled by using workbench). After that pull a request, it would show all differences as conflict.

  • Hi Mohit,

    You can compare two profiles with the help of some applications like Perm Comparator (HerokuApp) and Arxxus Profile Comparator (AppExchange) .

    Hope this helps you.

    Thanks

  • I like http://www.securityzen.net. Let's me compare profiles and permission sets both within an environment and between environments. Also, let's me deploy security from one environment to another.

How to compare two profiles Salesforce

Winter is just around the corner, and Salesforce knows it! Winter ’21 already has both official Release Dates and Release Notes. We at Empirical have already covered the…

How to compare two profiles Salesforce

Many of our Salesforce Marketing Cloud customers use Marketing Cloud as a standalone product, however, it is simple to connect Marketing Cloud with the Sales,…

How to compare two profiles Salesforce

In today's job market, professional courses Salesforce administration & development course is the assets you can have. It'll add value to your resume and also…

How to compare two profiles Salesforce

A Salesforce Admin Certification is the highest form of recognition a Salesforce Administrator can achieve; it demonstrates expertise in the field as well as a…

How to compare two profiles Salesforce

Mark your calendar… get set… GO! Dreamforce 2021 is coming to you. So let's come together, from wherever you are, to learn, connect, have fun,…