Posts

Showing posts from 2019

'The remote server returned an error: (409) Conflict

When we are dealing with Azure Storage Table data insert, we may get this kind of error. This is due to when we are trying to insert a duplicate key inside a Azure Table Storage. duplicate key= PartitionKey+RowKey Ex: PartitionKey="1001"        RowKey="John" here once we insert the above data into Azure Table, and again if we are trying to insert same combination then we will get " The remote server returned an error: (409) Conflict " error. How to resolve it:     In this case we need to go with either of below methods as per your requirement. TableOperation.InsertOrReplace(tableObject) TableOperation.InsertOrMerge(tableObject)   

Get azure blob files inside Sub Directories

In Microsoft doc's we can find code to get blob files inside a container using c#. What if Container has some Sub Directories with blob data/files. How we can replicate the folder structure in our local machine.        There might a change Container contains empty folder or a file. Below code snippet will help to create the same Azure Container structure. here i have used ASPX pages as per my requirement. we can use other applications as well. To get Azure connection string use below URL:  https://docs.microsoft.com/en-us/azure/storage/common/storage-configure-connection-string         public string storageAccountName = "azure storage account name";         public string accessKey = "your azure accesskey";         public string containerName = "myfirstblobcontainer";         public string connectiongString = "Azure connection string";         publ...

AI for Market Insights feature in Dynamics 365

Image
Now a days each IT Industry have been doing their job very much simpler by intruding automatic systems in it. Microsoft is the one who regularly introducing new changes to the existing technologies. Why Microsoft is intruding new feature in existing technologies frequently. Not at all good. Most of the people think like that only, because they need to learn it and implement as well. Don’t think like that. Every company is trying to get more and more clients by showing rich content or lot of features with in a small amount of time. So “AI for Market Insights” is an app introduced in Dynamics 365, which will helpful for marketing people to showcase a demo in an easy manner. It also shows do the sync between social media like Facebook, twitter, YouTube, Instagram. Here we will see a new feature “Market Insights” which is newly introduced in Dynamics 365. I think no need to give complete overview on how it works. You can ref...

How to integrate Finance and operations with Dynamics 365

Image
1.Go to https://dynamics.microsoft.com/en-us/get-started/?appname=finance 2.Click on Sign Up for free trail (you should login into Dynamics 365) 3.Select “Dynamics 365 For Finance and Operations”, provide work email address as your CRM user name and your phone number. Click on Get Started. 4.Once it creates it shows as below.

Connecting Dynamics 365 Web api using external HTML page

Image
Here we are discussing on how we can connect Dynamics 365 Web Api using external application. Below are the steps we need to follow in order to achieve our goal. Note: if the HTML page is not giving any result or not able to load browser cache (CRM user token) then your need to clear Brower cache and try to load HTML again .   1.        Login in to https://portal.azure.com 2.        Provide your CRM username and password to log in into azure. Once you login create an application as below screen shot Azure Active Directory à App Registration à Click on New application registration 3.        Provide Name, select Application Type as “Web App / API” and provide Sing –on URL as CRM URL as below. 4.        Open the newly created application and click on Settings. 5.        Click on Keys and provide ...

Create records using Web api C# in Dynamics 365

Here is the code to create records using C# + Web Api in Dynamics 365 private static async Task CreateRecord()         {             JObject contact1 = new JObject{                         { "firstname", "Bangar" },                         { "lastname", "Raju" },                         { "annualincome", 80000 }                         };             contact1["jobtitle"] = "Junior Developer";             //for Custom data type for Account entity. if you want contat then "parentcustomerid_contact@odata.bind"             contact1.Add("parentcustomerid_account@odata.bind", "/accounts(475B158C-541C-E511-8...