Scribe Online – Creating your first integration solution for Dynamics 365 CE – Nishant Rana’s Weblog
Jan08

Scribe Online – Creating your first integration solution for Dynamics 365 CE – Nishant Rana’s Weblog

In the last post, we created the connection for Dynamics 365 CE https://nishantrana.me/2019/01/08/getting-started-with-scribe-online-connecting-to-dynamics-365-ce/ Here we will create the integration solution that would consume that connection. We will take the following simple scenario to understand the basics. “Delete all the leads with Status = Disqualified” Let us get started à Login to Scribe Online https://app.scribesoft.com Go...

Read More
Getting started with Scribe Online – Connecting to Dynamics 365 CE – Nishant Rana’s Weblog
Jan08

Getting started with Scribe Online – Connecting to Dynamics 365 CE – Nishant Rana’s Weblog

In the series of posts – we would see how to quickly get started with Scribe Online and Dynamics 365 integration. Sign up for the free trial for Scribe Online https://info.scribesoft.com/trl_scribe-online.html#trial-form Login with the shared details that we’d receive in our registered email address. With the Scribe Online Dashboard, Go to the Marketplace and add the Dynamics 365/ CRM connector With the connector added, now let us...

Read More
Dynamics 365 CE Update changed the form’s layout
Jan07

Dynamics 365 CE Update changed the form’s layout

Yesterday one of our users reported that they are getting JavaScript error and the Marketing List’s form was looking a bit different. On analysis, we found that the field that was moved to a different tab resulting in JavaScript error and also the Member sub grid (unique to Marketing List) was moved to the bottom … Continue reading “Dynamics 365 CE Update changed the form’s layout” Continue Reading Nishant Rana’s...

Read More
0x80131040) – Nishant Rana’s Weblog
Jan06

0x80131040) – Nishant Rana’s Weblog

We might get above error while using CRMSdk assemblies inside a console application. Just make sure there is no mismatch among the assembly’s version being used in the project to fix this issue. Like this: Like Loading… Author Nishant RanaPosted on January 7, 2019Categories Microsoft Dynamics 365 Continue Reading Nishant Rana’s Article on their...

Read More
Badges earned last year in https://community.dynamics.com/
Jan04

Badges earned last year in https://community.dynamics.com/

Badges earned last year in Dynamics 365 Community https://nishantrana.me/2018/10/03/earned-top-10-in-september-2018-blog-leaderboard-badge-in-dynamics-365-community/ Continue Reading Nishant Rana’s Article on their...

Read More
Thanks KingswaySoft – Nishant Rana’s Weblog
Jan02

Thanks KingswaySoft – Nishant Rana’s Weblog

Thanks KingswaySoft for coming up with one of the best tools for Data Integration and especially the SSIS Integration Toolkit for Microsoft Dynamics 365.. Like this: Like Loading… Author Nishant RanaPosted on January 2, 2019Categories Dynamics 365, Microsoft Dynamics 365, SSISTags Dynamics 365, Microsoft Dynamics 365, SSIS Post navigation Continue Reading Nishant Rana’s Article on their...

Read More
Implementing Multi-level approval using PowerApproval in Dynamics 365 CE – Nishant Rana’s Weblog
Jan02

Implementing Multi-level approval using PowerApproval in Dynamics 365 CE – Nishant Rana’s Weblog

We recently had a requirement of multi-level approval in our Project. We thought of evaluating the PowerApproval add-on from Power Objects. The add-on is powerful, feature-rich and allows us to easily configure our Approval logic and to track it as well. Let us quickly see the steps to configure it and start using it. Download the Solution and import it in the organization. https://www.powerobjects.com/powerpacks/powerapproval/ After...

Read More
NEW YEAR, NEW “YOU”
Dec31

NEW YEAR, NEW “YOU”

Originally posted on Sapna's Yoga Diary: Are you planning for new year resolution and thinking on how you can make 2019 a “happy year”? It all begins and ends with ‘YOU’ so, see how you can improve on your weaknesses, your relationships, and most importantly your “Health and wellbeing”. Make your resolution to create… Continue Reading Nishant Rana’s Article on their...

Read More
The new model-driven form designer (WYSISYG) in PowerApps for Model-driven apps (Dynamics 365 CE) Preview – Nishant Rana’s Weblog
Dec24

The new model-driven form designer (WYSISYG) in PowerApps for Model-driven apps (Dynamics 365 CE) Preview – Nishant Rana’s Weblog

The new model-driven form designer (Preview) has some nice features added to it like Searching for fields in the form Tree View showing visual hierarchy of the controls for quick view and navigation inside the form. The icon also makes it easy to identify the data type of the field. We can also check and configure how the UI would render for different type of client application Property Pane for the type of control selected which...

Read More
{knowhow} How to edit the Dynamics 365 App for Outlook screen – Nishant Rana’s Weblog
Dec22

{knowhow} How to edit the Dynamics 365 App for Outlook screen – Nishant Rana’s Weblog

Recently there was a requirement to change the Dynamics 365 App for Outlook screen. Basically when you set up the default App for Outlook, the Sitemap contains just the Activities and the Dashboards. However the customer wanted to show the Accounts and some other custom entities there as well in the menu. So how do we include it? It’s quite obvious that the change needs to be in the SiteMap. However how can I change the Sitemap of the...

Read More
Embedding Canvas App on a Model-Driven App’s Form (Preview) – Passing list of related records as context – Nishant Rana’s Weblog
Dec22

Embedding Canvas App on a Model-Driven App’s Form (Preview) – Passing list of related records as context – Nishant Rana’s Weblog

Similarly to passing the current record as context to the embedded canvas app, we can pass the list of related records as context. Let us see how it works step by step. Open the form for customization and insertedit an existing Sub-Grid control and select Canvas App for the Add Control option. Select the option Web for the canvas app. Here clicking on Customize will open the PowerApps studio for creatingediting the app. Here View Name...

Read More
Embedding Canvas App on a Model-Driven App’s Form (Preview) – Nishant Rana’s Weblog
Dec21

Embedding Canvas App on a Model-Driven App’s Form (Preview) – Nishant Rana’s Weblog

Login to Dynamics 365 CE, open any of the Entity’s form and either pick any of the existing single line of a text field or sub-grid control or add one to the form. We will use Single Line of Text if we want to pass the current record as context and Sub-Grid if we want to pass the list of related records as context. In this post, we will first see how to pass the current record as context. For this let us open Lead form and select...

Read More
How to use special date operators (last-month for ex) in OData and MS Flow – Nishant Rana’s Weblog
Dec19

How to use special date operators (last-month for ex) in OData and MS Flow – Nishant Rana’s Weblog

Today we got a requirement to fetch all the records that are created in the last month by using MS Flow. We can do this by using “Dynamics 365 List records” action and we have to provide OData filter query for this action. I tried to use the same “last-month” operator that we use in the fetch xml. But this will not work for OData query. We need to use “LastMonth” function for this as defined in this link. The below are the examples to...

Read More
Optimum batch size and thread while deleting records using SSIS Integration Toolkit for Microsoft Dynamics 365 – Nishant Rana’s Weblog
Dec19

Optimum batch size and thread while deleting records using SSIS Integration Toolkit for Microsoft Dynamics 365 – Nishant Rana’s Weblog

Recently we had to delete few records for one of our entities. It was a user owned entity with 1 custom 1 – n relationship with contact having around 190 fields. It was Dynamics 365 CE Online on version 9.1 and had ExecuteMultiple max limit set to 20. (by raising support ticket with Microsoft) https://msdn.microsoft.com/en-us/library/microsoft.xrm.sdk.deployment.throttlesettings.executemultipleperorgmaxconnectionsperserver.aspx Batch...

Read More
One or more errors occurred. (SSIS Integration Toolkit for Microsoft Dynamics 365) error in KingswaySoft’s SSIS Integration Toolkit – Nishant Rana’s Weblog
Dec18

One or more errors occurred. (SSIS Integration Toolkit for Microsoft Dynamics 365) error in KingswaySoft’s SSIS Integration Toolkit – Nishant Rana’s Weblog

Occasionally we might get the below error in our SSIS Package. [Dynamics CRM Destination [2]] Error: An error occurred with the following error message: “System.AggregateException: One or more errors occurred. (SSIS Integration Toolkit for Microsoft Dynamics 365, v10.2.0.6982 – DtsDebugHost, v14.0.3002.113)KingswaySoft.IntegrationToolkit.DynamicsCRM.CrmServiceException : CRM service call returned an error: CRM service call returned an...

Read More
Fixed NSIS Error – Error Launching installer in Windows 10. – Nishant Rana’s Weblog
Dec17

Fixed NSIS Error – Error Launching installer in Windows 10. – Nishant Rana’s Weblog

Recenlty I bought Shanling M0 DAP, and while trying to run the setup.exe for its USD DAC Driver I got the below error. NSIS (Nullsoft Scriptable Install System) is a tool that allows programmers to create installers for Windows. It is released under an open source license and is completely free for any use The issue could be because of the setup file failing the self-check. So, installing it might not be successful, and could lead to...

Read More
PowerApps – Quick Overview (mind map) – Nishant Rana’s Weblog
Dec17

PowerApps – Quick Overview (mind map) – Nishant Rana’s Weblog

Hi, I was reading this wonderful whitepaper on PowerApps by David Yack and preparing notes on that using mind map. Sharing the same. https://www.goconqr.com/p/16333871-powerapps-mind_maps   Hope it helps.. Like this: Like Loading… Author Nishant RanaPosted on December 17, 2018Categories Dynamics 365, Microsoft Dynamics 365, PowerAppsTags Dynamics 365, Microsoft Dynamics 365, PowerApps Post navigation Continue Reading Nishant...

Read More
Multiple Currency Issue in Opportunity Line Grid(Inline Edit View) on Opportunity Form – Nishant Rana’s Weblog
Dec12

Multiple Currency Issue in Opportunity Line Grid(Inline Edit View) on Opportunity Form – Nishant Rana’s Weblog

Recently, while working on qualifying lead to opportunity we faced a weird issue. We were using multiple currencies in our D365 instance AED(Base currency in our case) and Egyptian Pound. We used Egyptian Pound currency on Lead while creating. On qualifying Lead to Opportunity, we were mapping the currency of Lead to Opportunity. So, eventually, currency selected on Opportunity was Egyptian Pound and corresponding Price List was...

Read More
CheckPrivilege failed while importing solution in Dynamics 365 CE – Nishant Rana’s Weblog
Dec12

CheckPrivilege failed while importing solution in Dynamics 365 CE – Nishant Rana’s Weblog

Recently after upgrade of our Dynamics 365 CE from 8.2 to 9.1, when the System Administrator tried importing the solution (managed), he got the below error You do not have the necessary privileges to import security roles. : Microsoft.Crm.CrmSecurityException: SecLib::CheckPrivilege failed. User: e7282250-7d82-e711-80df-1458d0431690, PrivilegeName: prvWriteRole, PrivilegeId: bd123e14-17ba-40f6-8d8b-18f4bffa7e50, Required The error...

Read More
The workflow cannot be published or unpublished by someone who is not its owner error while importing solution in Dynamics 365 CE
Dec11

The workflow cannot be published or unpublished by someone who is not its owner error while importing solution in Dynamics 365 CE

Recently after upgrade of our Dynamics 365 CE from 8.2 to 9.1, when the System Administrator tried importing the solution (managed), he got the below error The workflow cannot be published or unpublished by someone who is not its owner. Error while importing workflow {ec05f40d-fd14-46ab-96b3-be1f5b108ef3} type Workflow name Marketing List – Update CT Relationship: The workflow cannot be published or unpublished by someone who is not...

Read More
You don’t have permission to access any of the organizations in the Microsoft Dynamics CRM Online region that you specified error in USD Client Application
Dec10

You don’t have permission to access any of the organizations in the Microsoft Dynamics CRM Online region that you specified error in USD Client Application

Recently after upgrade to version 9.1 and USD 4.0, some of the users started getting the below error while trying to login into the USD Client Application. You don’t have permission to access any of the organizations in the Microsoft Dynamics CRM Online region that you specified. If you’re not sure which region your organization resides in, choose “Don’t know” for the CRM region and try again. Otherwise check with your CRM...

Read More
Merged vs. Child Cases – Nishant Rana’s Weblog
Dec03

Merged vs. Child Cases – Nishant Rana’s Weblog

We will go back to the basics and see one of the basic features of case entity which is confusing at times to the beginners, Merged Case vs. Child Case. What are they? Why and when to use them? Merge Case: What is Merged Case? When a case is merged, the state of the case is changed to cancelled, and the status is changed to merged. All of the open case activities, emails, and attachments that a case has are now associated with the...

Read More
CrmRecordId and IsNew Output in CRM/CDS Destination Component – Nishant Rana’s Weblog
Dec02

CrmRecordId and IsNew Output in CRM/CDS Destination Component – Nishant Rana’s Weblog

In CRM/CDS Destination Component of SSIS Integration toolkit we can found 2 output column as part of error handling In case of Create CrmRecordId will have the GUID of the newly created record, which could be used for any further processing IsNew will list whether this is a new record or not. Our package: – Suppose we have the following record in our source (here ID is the alternate key column used for Upsert) If all the records are...

Read More
[D365 CE Online] Debug Async Plug-in using “Persist to Entity” profiler option – Nishant Rana’s Weblog
Dec01

[D365 CE Online] Debug Async Plug-in using “Persist to Entity” profiler option – Nishant Rana’s Weblog

As you are aware, using Plug-in Profiler option we can debug D365 online plug-ins by throwing exception and capturing the Serilaized profile. Refer my previous article With the ‘Exception’ profiling option, you first need to trigger the event and capture the exception log. For example, if you need to debug “Post Account Create” plug-in, you first need to trigger the event (i.e., Create Account from D365 application) and capture the...

Read More
Unexpected error (SQL Timeout error) while trying to delete Audit Log – Nishant Rana’s Weblog
Nov30

Unexpected error (SQL Timeout error) while trying to delete Audit Log – Nishant Rana’s Weblog

Unexpected error (SQL Timeout error) while trying to delete Audit Log We had around 200 GB of Audit Log data in our Production Environment, but while trying to delete it through Audit Log Management resulted into unexpected error. The only option is to raise the support ticket with Microsoft. We also raised the same but it unfortunately resulted in our Production Server being down for brief period of time because of time out issue...

Read More
How To Access Master & Duplicate Record In Merge Operation Plugin – Nishant Rana’s Weblog
Nov29

How To Access Master & Duplicate Record In Merge Operation Plugin – Nishant Rana’s Weblog

Here is a quick blog on how to access master & child records during a Merge operation in a plugin. I recently had to develop a plugin where in I needed to do some manipulation with the records being merged. You can access three entities in your plugin when a record is merged from Context.InputParameter :         1. SubordinateId – the duplicate record       2. Target – the master record       3. UpdateContent   – a temp entity...

Read More
Requesting the backup of Microsoft Dynamics 365 Online Database – Nishant Rana’s Weblog
Nov28

Requesting the backup of Microsoft Dynamics 365 Online Database – Nishant Rana’s Weblog

In theory, requesting the backup of the online database seems very easy and straightforward. We basically need to raise a support ticket with Microsoft and provide the following details. SQL Version – Standard or Enterprise SQL Year of the version. In our case it was (Microsoft SQL Server 2016 (SP1) (KB3182545) – 13.0.4001.0 (X64) Oct 28 2016 18:17:30 Copyright (c) Microsoft Corporation Standard Edition (64-bit) on Windows Server 2016...

Read More
Execute Stored Procedure using Azure Data Factory – Nishant Rana’s Weblog
Nov27

Execute Stored Procedure using Azure Data Factory – Nishant Rana’s Weblog

In this blog post, we’ll see how to execute Stored Procedure in Azure SQL Database inside Azure SQL Server. Let’s go through the steps to see it in action. Login to Azure Portal. Click Create a resource –> Databases –> SQL Database. Give a unique name to the Azure SQL Database. Click on Server field to create Azure SQL Server on the fly.  Give a unique name to the Azure SQL Server, provide credential for login and click Select. Make...

Read More
SSIS and Microsoft Dynamics 365
Nov26

SSIS and Microsoft Dynamics 365

Listing down the posts on SSIS and Microsoft Dynamics 365 for quick reference Using Lookup Transformation and Cache Transformation in SSIS for Dynamics 365 (using Kingswaysoft) View Designer not showing SSIS Package in Design mode in Visual Studio Lookup not getting set while using CRM Destination Component of KingswaySoft’s SSIS Integration Toolkit for Dynamics 365 … Continue reading “SSIS and Microsoft Dynamics 365”...

Read More
Using Azure Bot Service to create Bot – Nishant Rana’s Weblog
Nov25

Using Azure Bot Service to create Bot – Nishant Rana’s Weblog

Using Microsoft Bot Framework Azure Bot Service is an integrated environment that allow us to easily register, build, deploy our bots. It provides the required components and hosting environment for creating bots through Bot Builder SDK using either C# or JavaScript and connector service to connect to various channels. Login to Azure Portal. https://portal.azure.com Search for Web App Bot We have selected Basic Bot template. After the...

Read More
Power BI and Microsoft Dynamics 365
Nov24

Power BI and Microsoft Dynamics 365

Listing down the posts on Power BI and Microsoft Dynamics 365 for quick reference Power BI with Dynamics 365 CE – Creating Power BI Report Power BI with Dynamics 365 CE – Publishing Power BI Report to the web Power BI with Dynamics 365 CE – Refreshing the Dataset Power BI with Dynamics 365 CE – Dynamics 365 … Continue reading “Power BI and Microsoft Dynamics 365” Continue Reading Nishant Rana’s Article on their...

Read More
Copy Data from D365 CE to Azure SQL Database using Azure Data Factory – Nishant Rana’s Weblog
Nov23

Copy Data from D365 CE to Azure SQL Database using Azure Data Factory – Nishant Rana’s Weblog

In this blog post, we’ll see how to copy data of an entity “Contact” in D365 CE to Azure SQL Database. Let’s follow the below steps to see it in action. Login to Azure portal. Create Azure SQL Database where we need to copy the data. Click Create a resource –> Databases –>  SQL Database Give a unique name to the database. Click on server field to create a Azure SQL Server. Give a unique name to the Azure SQL server, username and...

Read More
Above and Under operator to query hierarchical data in Dynamics 365 – Nishant Rana’s Weblog
Nov22

Above and Under operator to query hierarchical data in Dynamics 365 – Nishant Rana’s Weblog

above and under were the 2 new operators introduced with Dynamic CRM 2015. Let us see some of the examples. Suppose I have the following hierarchy defined, wherein User 2 is manager of user Nishant Rana who in turn is manager of User 1. And following are the contacts record owned by them. In context of user Nishant Rana, if I apply Under operator, we’d get the following result Only the records owned by child And for Not Under All the...

Read More
A quick find filter cannot have any child filters exception in Dynamics 365 CE – Nishant Rana’s Weblog
Nov21

A quick find filter cannot have any child filters exception in Dynamics 365 CE – Nishant Rana’s Weblog

Today afternoon we started getting the below error in the lookup dialog box for customer and contact. Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=9.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: A quick find filter cannot have any child...

Read More
Getting logged in user roles in client side in Dynamics V9.0 – Nishant Rana’s Weblog
Nov20

Getting logged in user roles in client side in Dynamics V9.0 – Nishant Rana’s Weblog

You may be asking? Why this mundane post? After all we have been here close to 8 years since 2011 released and we have millions of time retrieved it using So what’s the fuss in it? So if you are working on CRM version below 9.0, then it’s no fuss. But if you are working on V9.0 and above, may be this is an interesting read for you. Xrm.Page is deprecated. So what’s the other way. Well you need to do it the V9.0 way. Below is the code...

Read More
Sample code to delete instance using Online Management API in Dynamics 365 Customer Engagement – Nishant Rana’s Weblog
Nov19

Sample code to delete instance using Online Management API in Dynamics 365 Customer Engagement – Nishant Rana’s Weblog

Sharing a sample code that can be used to delete the instance in Dynamics 365 CE using Online Admin API. Read the previous post for more details We basically need to get the instace id and use the HTTP Delete to achieve this https://docs.microsoft.com/en-in/rest/api/admin.services.crm.dynamics.com/Instances/DeleteInstance Production instance needs to be converted to Sandbox before it can be deleted else we’d get the operation not...

Read More
Sample Code to retrieve instances using Online Management API in Dynamics 365 Customer Engagement – Nishant Rana’s Weblog
Nov18

Sample Code to retrieve instances using Online Management API in Dynamics 365 Customer Engagement – Nishant Rana’s Weblog

With version 9.0 of Dynamics 365 CE we now have Online Admin API that supports the following operations like Create, Retrieve, Delete, Backup and Restore instances. The user needs to have the Global Administrator or Service Administrator role in the Office 365 tenant to perform these operations. As a first step we need to register the application with Azure Active Directory....

Read More
The user or administrator has not consented to use the application error in Dynamics 365 CE – Nishant Rana’s Weblog
Nov17

The user or administrator has not consented to use the application error in Dynamics 365 CE – Nishant Rana’s Weblog

Suppose, we have just registered an application in Azure Active Directory and trying to acquire the token and get the below error Microsoft.IdentityModel.Clients.ActiveDirectory.AdalServiceException: ‘AADSTS65001: The user or administrator has not consented to use the application with ID ‘b2c5028d-57e6-4df7-9940-828e6914948b’ named ‘MyApp’. Send an interactive authorization request for this user and resource. This is because admin...

Read More
Execute SSIS Package using Azure Data Factory – Part 2 – Nishant Rana’s Weblog
Nov16

Execute SSIS Package using Azure Data Factory – Part 2 – Nishant Rana’s Weblog

In the previous post, we created the required Azure resources. In the last step of the previous post, we created Azure SSIS IR which is basically responsible for creating SSISDB in the Azure SQL Server where we’ll deploy the SSIS package. In this demo, we are going to execute a SSIS package which will load the data from source table ([SalesLT].[Customer]) to the destination table([dbo].[Customer]). So, let’s create the Customer table...

Read More
Sample code to use RetrievePrincipalAccess Function to get the access rights of the team or user in Dynamics 365 CE – Nishant Rana’s Weblog
Nov15

Sample code to use RetrievePrincipalAccess Function to get the access rights of the team or user in Dynamics 365 CE – Nishant Rana’s Weblog

We can use RetrievePrincipalAccess function in Web API to get the access rights of either a user or team on a specific record. The sample code: var req = new XMLHttpRequest(); req.open("GET", Xrm.Page.context.getClientUrl() + "/api/data/v9.1/systemusers(D38F5B76-C22E-4256-AF90-CFD14B6589BF)"+ "/Microsoft.Dynamics.CRM.RetrievePrincipalAccess(Target =@Target)?"+ "@Target={ 'accountid': '8CB09F67-EB90-E811-A963-000D3AD1CBD6',...

Read More
Limitations of Business Rule with Mobile App – Nishant Rana’s Weblog
Nov14

Limitations of Business Rule with Mobile App – Nishant Rana’s Weblog

One of our customer reported that couple of Business Rules are not working in Mobile app which are working perfectly in Web application. Spent so much time to understand the problem with Mobile app and finally figured out that one tab on the contact form is not loaded in mobile app because of maximum 5 tabs allowed limitations. Some fields that we are referring in the  business rules are part of this missing tab. So, business rule...

Read More
The following job steps cannot be reached with the current job step flow logic in SSIS – Nishant Rana’s Weblog
Nov12

The following job steps cannot be reached with the current job step flow logic in SSIS – Nishant Rana’s Weblog

Recently while scheduling our SSIS Packages in SQL Server Agent Jobs we got the below error WARNING: The following job steps cannot be reached with the current job step flow logic: [1] Fashion Spend package We just need to make sure that we have set correct package in the Start Step properties in Job Properties Dialog Box To: – Hope it helps.. Like this: Like Loading… Related Continue Reading Nishant Rana’s Article on...

Read More
HideCustomAction and Display  Enable rule in Dynamics 365 – Nishant Rana’s Weblog
Nov12

HideCustomAction and Display Enable rule in Dynamics 365 – Nishant Rana’s Weblog

Imagine a scenario where we have both the disable rule and HideCustomAction implemented for a ribbon button. Let us see with an example what will happen in this scenario. First, let us implement the display rule to hide the Delete button from Contact form when it is in a disabled state. For active record à We can see the delete button in the command bar. For disabled record à The delete button is not visible. Now let us hide the...

Read More
Installation order for Solutions (Patches) in Dynamics 365 Customer Engagement – Nishant Rana’s Weblog
Nov11

Installation order for Solutions (Patches) in Dynamics 365 Customer Engagement – Nishant Rana’s Weblog

Let us take see a simple example of how the installation order of solution and patch works in case of Dynamics 365 CE. Suppose we have a Solution A with only Account Number field with display name renamed to Account Number from Solution A. Now this solution is exported as managed and imported into the target environment Now let us create a new solution which renames this field as “Account Number from Solution B” and then import this...

Read More
The following managed solution cannot be imported. The publisher name cannot be changed in Dynamics 365 CE – Nishant Rana’s Weblog
Nov09

The following managed solution cannot be imported. The publisher name cannot be changed in Dynamics 365 CE – Nishant Rana’s Weblog

We can change publisher of a solution using Publisher lookup field of the solution in the Information section. However, if the solution has already been imported in target environment, changing the publisher and trying to import the solution will result in the below error. Here we try renaming the publisher from “default..” to “sable37”...

Read More
QuickFindQueryRecordLimit exceeded. Cannot perform this operation error in Dynamics 365 CE – Nishant Rana’s Weblog
Nov08

QuickFindQueryRecordLimit exceeded. Cannot perform this operation error in Dynamics 365 CE – Nishant Rana’s Weblog

We would get this below error if our search returns more than 10000 records for Quick Find Query. “There are more search results than can be displayed. Try adding more search terms (such as last name) to narrow your search results. If you contact support, please provide the technical details” We can fix it by setting Enable Quick Find record limits to No in System Settings à General tab. More details...

Read More
Access denied due to invalid subscription key error while using FaceServiceClient in Microsoft Cognitive Services – Nishant Rana’s Weblog
Nov07

Access denied due to invalid subscription key error while using FaceServiceClient in Microsoft Cognitive Services – Nishant Rana’s Weblog

Recently while working with Face API we were getting the below error To get it working we had to define apiRoot along with the subscriptionkey while initializing the FaceServiceClient object. Hope it helps.. Like this: Like Loading… Related Author Nishant RanaPosted on November 8, 2018November 6, 2018Categories AI, Machine LearningTags Artificial Intelligence, FaceAPI, Machine Learning, Microsoft Cognitive Service Continue...

Read More
SiteMapName in the AppModuleSiteMap is null or empty error while importing V9 Solution in Dynamics 365 Customer Engagement – Nishant Rana’s Weblog
Nov06

SiteMapName in the AppModuleSiteMap is null or empty error while importing V9 Solution in Dynamics 365 Customer Engagement – Nishant Rana’s Weblog

We recently upgraded our Dev and Test environment to V 9.0. Dev Test While importing a solution from Dev to Test which had SiteMap we got the below issue. “The SiteMapName in the AppModuleSiteMap is null or empty” It turns out that the following tags were required and were missing in the Customization.xml We added that tag and were able to import the solution successfully. Interestingly if we export the same solution from Test and...

Read More
Different Updating Instance status during Dynamics 365 Upgrade – Nishant Rana’s Weblog
Nov05

Different Updating Instance status during Dynamics 365 Upgrade – Nishant Rana’s Weblog

The day has come when we had scheduled the upgrade of our Dynamics 365 instance Test Instance(from 8.2 to 9.0). We can see the below message during the scheduled time à “The update will being within 24 hours. No rescheduling is available”. The following Reschedule Update option will go missing during the scheduled time. After waiting for few minutes, we see the Update Status as Queue (Not Started) Followed by the status as “Database...

Read More
Plugin on Pre-Validation Stage in Dynamics 365 CE – Nishant Rana’s Weblog
Nov05

Plugin on Pre-Validation Stage in Dynamics 365 CE – Nishant Rana’s Weblog

Recently we had a requirement to delete the Account record without deleting the associated Contact records. If we try deleting the account record we’d get the following message box The relationship definition can’t be updated as well to achieve this So, we wrote a plugin on the pre-validation stage of pre-delete event of Account, which will retrieve and loop through all the child contact records and set its parent customer field as...

Read More