Show and hide the Dynamics 365 – custom app

To show and hide the Dynamics 365 – custom app from users other than having a system administrator role, we can use the below option

Navigate to Settings – Apps

and specify either Hide / Show for all roles.

For the end-users, it will hide the app

App not listed for the user.

Users can still access the app through URL.

The same settings can be applied from the General tab of System Settings

For Dynamics 365 On-Premise, we have a similar option in the General tab of System Settings

Hope it helps..

RetrieveTotalRecordCount function to get the total number of records in Dynamics 365

Using RetrieveTotalRecordCount Function we can get the total number of records for an entity (works for more than 50000 records)

For e.g.


Hope it helps..

The Nigel Frank International Salary Survey 2020/21 for Microsoft Dynamics 365

The latest edition of Nigel Frank International’s Microsoft Dynamics salary survey is now live!

This will be their 12th annual report published, and has proven to be an invaluable resource to myself and my peers over the years.

I had the pleasure of contributing a foreword to the report, which set the scene in terms of where the Dynamics 365 ecosystem is now, what the future holds, and my own career journey. I can say with certainty that the ecosystem has been, and will continue to be, altered dramatically due to the Covid-19 crisis, as is the same with the technology sector as a whole.

The report uncovers a wealth of changing sentiments, along with work benefits, diversity statistics, the importance of certifications, and of course average salaries to name just a few topics covered. After reading through the results, here are my 5 main takeaways:

  • Certifications are growing in importance

The crisis has resulted in a huge increase of professionals upskilling; this is due to a combination of increased free time and job losses. Certifications are the best way to beat the competition in this increasingly difficult environment according to 61% of professionals surveyed, who believe certifications give you the edge in the job market. This along with the fact that getting certified can increase your salary by up to a reported 22% makes the decision whether to get certified or not an easy one. This was echoed by 80% of respondents who agreed Dynamics certifications were important towards increasing earning potential. Now is the time to upskill and safeguard your career!

  • The rise of working from home

The most obvious impact of Covid-19 on our working lives has been the shift from office to remote. The increase in related benefits offered such as a company laptop (73%) has followed, with 60% of respondents being offered homeworking. It will be interesting to see if this continues as restrictions across the world are beginning to ease, but it certainly seems the pandemic has changed our way of working forever. A company laptop and flexible/ remote working options have continuously been the most desired benefits when looking at past editions of the survey, so if this continues, job satisfaction will surely be boosted within the Dynamics workforce.

  • Equal rights are being championed

69% of respondents see their employers as being equal rights champions, which is hugely positive. Obviously, there is some way to go to reach the remaining 31%, however this signals change for the better across the industry. This along with 61% of employers promoting racial and ethnic diversity, and 56% hiring and retaining mature employees, is a resounding success. I hope this will continue and grow across the tech sector as a whole.

  • Increasing workload for partners

51% of employees working for Dynamics partners have seen their workload increase over the last year, and this was prior to the effects of the Coronavirus. This is a keen reflection of the digital skills gap, which will only be widening with the increased demand on cloud and digital in terms of keeping businesses and economies functioning. It is crucial that more people are encouraged into the tech sector in order to relieve the burden from these existing Dynamics professionals. This will be sure to further boost diversity within the ecosystem also.

  • Increased adoption of Dynamics 365

Since its release in November 2019, there has been an increase in take up from both new customers and existing users. 41% of end users, an 5% increase on last year’s result, are using Dynamics 365, with a further 19% expecting to use it in the future. The move to the cloud has been instrumental to this increase, and Dynamics 365 only looks to keep building momentum and customer base.

If you’d like to read the full report, and find out the average salary for your role and location, please do take a look here:

Hope it helps..

ID3242: The security token could not be authenticated or authorized in Dynamics 365

We recently got this error in our web application while trying to fetch some records from one for CRM On-premise organization.

This error was because we had recently configured IFD for that CRM Server.

We had around 6 organizations in that particular deployment and because of security reasons, we didn’t use the wildcard SSL certificate and had a single certificate with multiple subject alternative names (SAN Certificate), and this organization was not part in it.

Fortunately, it wasn’t the case in our production environment and we had this organization part of the SAN Certificate used for IFD configuration there.

So as a quick and temporary fix, as we just wanted to test a couple of methods, we disabled the Claims Based Authentication / IFD from the deployment manager for that short period.

Hope it helps..

New Admin Trial (subscription-based) experience – Dynamics 365

Recently a new Trial (subscription-based) environment option added to the tenants in the Power Platform Admin Center

Earlier we were limited to below options –

These new trial types are created and controlled by tenant administrators, as a result of signing up for a trial subscription and can be added to the existing tenant.

This new environment follows the trial subscription lifecycle (which is typically 30 days) and can be extended from the admin center.

  • A total of 3 trial environments can be created.
  • Trying to create 4th will give us the below error

Get more details here

Hope it helps..

The new Column comparison in queries in Dynamics 365 / PowerApps

Column Comparison is one of the best features that has been recently added to the product.

Column comparison allows us to compare values of 2 different columns in our query be it Fetch XML, Web API, or through SDK API.

Sharing some of the basic examples that we tried using our favorite  FetchXML Builder

  • If we run the following query “Find all contact which has the first name equal to the last name”

The result –

  • Find all contact where the first name is not equal to last name

The result –

The operators supported are –

Equal LessEqual GreaterEqual
Not Equal LessThan GreaterThan
  • Only 2 columns can be compared.
  • Only compatible attribute types can be compared.
  • E.g. “Find all contact where the first name is equal to address 1 city”

The result

It works as both are string attributes.

  • If we try comparing text field with options set, we will get below error message

  • Two option set can be compared as they represent the same type integer

Both having value 1

  • Comparing date fields

  • We are getting the result

  • For the lookups, comparing created by and owner id

works as expected.

  • For the below record we have the First name and job title as null

And here for below record, we have the same value for First Name and Job title.

On running the below query – find all contact where the first name is equal to the job title.

We get only one result. It ignored the blank (null) record.

Get all the details here

Hope it helps..