D365 Integration Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/d365-integration/ Microsoft Dynamics CRM . Microsoft Power Platform Fri, 08 Dec 2023 13:19:54 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.5 https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/04/cropped-Microsoftdynamics365-blogs.png?fit=32%2C32 D365 Integration Archives - Microsoft Dynamics 365 Blog http://microsoftdynamics.in/category/d365-integration/ 32 32 176351444 Excuse me! API limits for Microsoft Power Platform Dataverse & Dynamics 365 (2023 Edition) http://microsoftdynamics.in/2023/12/08/excuse-me-api-limits-for-microsoft-power-platform-dataverse-dynamics-365-2023-edition/ Fri, 08 Dec 2023 13:19:54 +0000 https://iiu.dk/?p=4316 API limit for Microsoft Dataverse Microsoft writes that the Microsoft Dataverse API limit helps ensure service levels, availability, and quality. This is regarding best practice architecture on using external APIs and good programming design…. Let me explain. (updated 08/12-2023 with latest info) https://videopress.com/v/sJZaSQTI?resizeToParent=true&cover=true&autoPlay=true&loop=true&playsinline=true&preloadContent=metadata&useAverageColor=true The first thing to acknowledge is that two limitations serve two purposes....

The post Excuse me! API limits for Microsoft Power Platform Dataverse & Dynamics 365 (2023 Edition) appeared first on Microsoft Dynamics 365 Blog.

]]>
API limit for Microsoft Dataverse Microsoft writes that the Microsoft Dataverse API limit helps ensure service levels, availability, and quality. This is regarding best practice architecture on using external APIs and good programming design…. Let me explain. (updated 08/12-2023 with latest info) https://videopress.com/v/sJZaSQTI?resizeToParent=true&cover=true&autoPlay=true&loop=true&playsinline=true&preloadContent=metadata&useAverageColor=true The first thing to acknowledge is that two limitations serve two purposes. … Continue reading Excuse me! API limits for Microsoft Power Platform Dataverse & Dynamics 365 (2023 Edition)

Follow the Source

The post Excuse me! API limits for Microsoft Power Platform Dataverse & Dynamics 365 (2023 Edition) appeared first on Microsoft Dynamics 365 Blog.

]]>
4822
Now it is time to be Curious about Power Platform Environment Variables! http://microsoftdynamics.in/2021/05/12/now-it-is-time-to-be-curious-about-power-platform-environment-variables/ Wed, 12 May 2021 08:39:47 +0000 https://iiu.dk/?p=2285 The Power Platform Environment Variables is yet another key component for enterprise-level application development best practice delivered with the need for no code to use. Let me run you through the History, why, use cases, and in the end, give u a step-by-step guide with a video demo on how to use the Power Platform...

The post Now it is time to be Curious about Power Platform Environment Variables! appeared first on Microsoft Dynamics 365 Blog.

]]>
The Power Platform Environment Variables is yet another key component for enterprise-level application development best practice delivered with the need for no code to use. Let me run you through the History, why, use cases, and in the end, give u a step-by-step guide with a video demo on how to use the Power Platform … Continue reading Now it is time to be Curious about Power Platform Environment Variables!

Follow the Source

The post Now it is time to be Curious about Power Platform Environment Variables! appeared first on Microsoft Dynamics 365 Blog.

]]>
4301
What is API limit for Microsoft Dataverse (Common Data Service)? http://microsoftdynamics.in/2020/11/16/what-is-api-limit-for-microsoft-dataverse-common-data-service/ Mon, 16 Nov 2020 16:31:09 +0000 https://iiu.dk/?p=1121 API limit for Microsoft Dataverse (Common Data Service) Microsoft writes that the Microsoft Dataverse (Common Data Service) API limit help ensure service levels, availability, and quality. For me, this is regarding best practice architecture on how to use external APIs and good programming design…. let me explain. The first thing to acknowledge is that there...

The post What is API limit for Microsoft Dataverse (Common Data Service)? appeared first on Microsoft Dynamics 365 Blog.

]]>
API limit for Microsoft Dataverse (Common Data Service) Microsoft writes that the Microsoft Dataverse (Common Data Service) API limit help ensure service levels, availability, and quality. For me, this is regarding best practice architecture on how to use external APIs and good programming design…. let me explain. The first thing to acknowledge is that there … Continue reading What is API limit for Microsoft Dataverse (Common Data Service)?

Follow the Source

The post What is API limit for Microsoft Dataverse (Common Data Service)? appeared first on Microsoft Dynamics 365 Blog.

]]>
4317
Data Integration architecture for Microsoft Dataverse, Dynamics 365, and PowerApps http://microsoftdynamics.in/2020/05/20/data-integration-architecture-for-microsoft-dataverse-dynamics-365-and-powerapps/ Wed, 20 May 2020 12:28:45 +0000 http://iiu.dk/?p=686 Data Integration Architecture As Microsoft have accelerated its investment in Dynamics, Power Platform & Azure the latest years a lot of new integrations options are available. Below you find a quick developer guide on Common Data Service Agile Data Integration Tools and architecture with connectors from cloud to on-premises. Data Integration architecture for Microsoft Common...

The post Data Integration architecture for Microsoft Dataverse, Dynamics 365, and PowerApps appeared first on Microsoft Dynamics 365 Blog.

]]>
Data Integration Architecture As Microsoft have accelerated its investment in Dynamics, Power Platform & Azure the latest years a lot of new integrations options are available. Below you find a quick developer guide on Common Data Service Agile Data Integration Tools and architecture with connectors from cloud to on-premises. Data Integration architecture for Microsoft Common … Continue reading Data Integration architecture for Microsoft Dataverse, Dynamics 365, and PowerApps

Follow the Source

The post Data Integration architecture for Microsoft Dataverse, Dynamics 365, and PowerApps appeared first on Microsoft Dynamics 365 Blog.

]]>
4336
Introduction to Microsoft Omni Channel for Customer Service http://microsoftdynamics.in/2020/05/17/introduction-to-microsoft-omni-channel-for-customer-service/ Sun, 17 May 2020 06:28:47 +0000 http://microsoftdynamics.in/?p=2948 The post Introduction to Microsoft Omni Channel for Customer Service appeared first on Microsoft Dynamics 365 Blog.

]]>
Channels supported by Omni Channel for Customer Service

Omni Channel for Customer Service is a new offering from Microsoft that sits on top of the existing Microsoft Dynamics 365 platform. As the name suggests the new robust platform is specifically built for the Customer Service agents, supervisors and administrators to handle Customers across different channels at the same time.

As of today the platform supports various channels such as Chat, SMS, Facebook, Twitter, etc. The platform also be extended to support System and Custom entities. Currently WhatsApp, Microsoft Teams and integration with other Custom channels is still in preview mode.

https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/05/Users.png?fit=144%2C157

Queues and Users 

  • The platform allows administrators to configure different types of queues based on skills, specializations, shifts, etc.
  • Administrators can also configure existing Dynamics 365 users as Omni Channel users and different their key attributes such as Capacity.
  • Chat BOTS configured using Microsoft Power Virtual Agent are also available that can be used for internal consultation or as first point of contact for Customer interaction.
https://i0.wp.com/microsoftdynamics.in/wp-content/uploads/2020/05/WDS.png?fit=144%2C79

Work Distribution is a concept of Omni Channel for Customer Service that ensures conversations are routed effectively to relevant agents based on their availability and skills.

Please refer to this link on Microsoft’s official website to know more about the product.

In the upcoming posts, we will explain how to provision, configure and extend this super awesome platform. So keep an eye on this blog.

Upcoming : Integration between Microsoft Power Virtual Agent and Omni Channel for Customer Service

The post Introduction to Microsoft Omni Channel for Customer Service appeared first on Microsoft Dynamics 365 Blog.

]]>
2948
Dynamics CRM V9 / D365 Connection through Console without Prompt http://microsoftdynamics.in/2018/01/16/dynamics-crm-v9-d365-connection-through-console-without-prompt/ Tue, 16 Jan 2018 07:40:00 +0000 There are 2 major steps involved in the process. Register the application with your Azure subscription Build the Console Application Register the application with your Azure subscription Refer this thread for detailed info Build the Console Application  Refer this thread for detailed info You need to change only the below authentication method in step 3...

The post Dynamics CRM V9 / D365 Connection through Console without Prompt appeared first on Microsoft Dynamics 365 Blog.

]]>
There are 2 major steps involved in the process.
  • Register the application with your Azure subscription
  • Build the Console Application
Register the application with your Azure subscription

Build the Console Application 
You need to change only the below authentication method in step 3 rest remains same

Pass user credentials with service URL and client id in Authentication Context

string authority = "https://login.microsoftonline.com/68e86d2-65ed-4666-8ee-f8ce245d20de/oauth2/authorize";
AuthenticationContext authContext = new AuthenticationContext(authority, false);
var credentials = new UserCredential("shashank@s.onmicrosoft.com", "pas@wrd1");
//without prompt
AuthenticationResult authResult = authContext.AcquireToken(serviceUrl, clientId, credentials);
authHeader = new AuthenticationHeaderValue("Bearer", authResult.AccessToken);

You can have a look at my code here :Sample Code

Happy Coding and CRMing 😊


SOURCE : mscrm.com

The post Dynamics CRM V9 / D365 Connection through Console without Prompt appeared first on Microsoft Dynamics 365 Blog.

]]>
2743
Connect to Dynamics CRM / D365 WebApi v9 from Console Application C# http://microsoftdynamics.in/2018/01/04/connect-to-dynamics-crm-d365-webapi-v9-from-console-application-c/ Thu, 04 Jan 2018 11:14:00 +0000 http://microsoftdynamics.in/2018/01/04/connect-to-dynamics-crm-d365-webapi-v9-from-console-application-c/ There are 2 major steps involved in the process. Register the application with your Azure subscription Build the Console Application Prerequisites CRM / D365 Trial Organisation Register the application with your Azure subscription Step 1 Login to azure portal  https://portal.azure.com with your CRM credentials Step 2 Click on Azure Active Directory – App registrations  Step 3 Click...

The post Connect to Dynamics CRM / D365 WebApi v9 from Console Application C# appeared first on Microsoft Dynamics 365 Blog.

]]>
There are 2 major steps involved in the process.
  • Register the application with your Azure subscription
  • Build the Console Application

Prerequisites

CRM / D365 Trial Organisation

Register the application with your Azure subscription


Step 1 Login to azure portal  https://portal.azure.com with your CRM credentials

Step 2 Click on Azure Active Directory – App registrations

 Step 3 Click on to New application registration

 Step 4 Enter Your Desired Name and Redirect URL but select Native in Application type and click on create Button

Step 5 After some some time you will be able to see your created apps then click on it

Step 6  Then click on Required permissions under API Access and then click on Add

Step 7  Click on Select API and then Select Dynamics CRM Online and Click on Select

Step 8  Select Access CRM Online as organisation users checkbox and click on Select Button

Step 9 Then click on Done

Build the Console Application 

Step 1 Navigate to Microsoft Url for sample for web API or click here quick start sample and extract to your desired location

Step 2 Open the Solution file in vs and you have to edit the code by reading the comment with TODO tag

Step 3 Update the service URLwith your current CRM organisation

Eg:

        private static string serviceUrl = "https://sa##x.crm8.dynamics.com";   // CRM Online

To get the client ID go to your app in Azure and copy the GUID specified for Application ID

To get the client ID go to your app in Azure and copy the GUID specified for Application ID and redirecting URL to Home Page URL ( will be same as you gave at the time of app creation in Redirecting URL)

Your Code should look like below

private static string serviceUrl = "https://sablecafex.crm8.dynamics.com";   // CRM Online
private static string userAccount = null;  //CRM user account
private static string domain = null;  //CRM server domain
private static string clientId = "e5cf0024-a66a-4f16-85ce-99ba97a24bb2";
private static string redirectUrl = "http://localhost";  //e.g. "http://localhost/SdkSample"

Step 3 Update Authentication Context with direct Authorisation Endpoint URL

To get Authorisation Endpoint URL go to your app in Azure click on Endpoints button

And copy the OAUTH 2.0 Authorization Endpoint URL

Replace the previous lines for getting authority information and update with the below code
string authority = "https://login.microsoftonline.com/e5cf0024-a66a-4f16-85ce-99ba97a24bb2/oauth2/authorize";
AuthenticationContext authContext = new AuthenticationContext(authority, false);

Your Code should look like below

//AuthenticationParameters ap = AuthenticationParameters.CreateFromResourceUrlAsync(
//        new Uri(serviceUrl + "api/data/")).Result;
//AuthenticationContext authContext = new AuthenticationContext(ap.Authority, false);

string authority = "https://login.microsoftonline.com/e5cf0024-a66a-4f16-85ce-99ba97a24bb2/oauth2/authorize";
AuthenticationContext authContext = new AuthenticationContext(authority, false);

AuthenticationResult authResult = authContext.AcquireToken(serviceUrl, clientId, new Uri(redirectUrl), PromptBehavior.Always);

The above code is connection with Prompt dialogue, for connection without prompt see my another thread – without prompt

Step 4 Rebuild

 Include the below reference to your project(to global config file the line before where your client credentials is configured) and change the .Net framework to 4.6.1 and rebuild 


“ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12”

for More details on it refer to my another thread here 

Step 5 Rebuild Your code and run it you will be prompted with sign in page enter your credentials

Step 5 Press on Accept

 And Your are done

You can have a look at my code here : My Sample Code

Inspired By : Nishant Rana’s Weblog

Happy Coding and CRMing 😊

SOURCE : mscrm.com

The post Connect to Dynamics CRM / D365 WebApi v9 from Console Application C# appeared first on Microsoft Dynamics 365 Blog.

]]>
2760
Dynamics CRM V9 / D365 connection Error Console or Custom Web Application http://microsoftdynamics.in/2018/01/04/dynamics-crm-v9-d365-connection-error-console-or-custom-web-application/ http://microsoftdynamics.in/2018/01/04/dynamics-crm-v9-d365-connection-error-console-or-custom-web-application/#comments Thu, 04 Jan 2018 07:23:00 +0000 http://microsoftdynamics.in/2018/01/04/dynamics-crm-v9-d365-connection-error-console-or-custom-web-application/ Last Night I Created a new Organisation and Connected it with console app an then I faced a strange issue in CRM v9 while connecting to Org Service with D365 through web API. It was perfectly working before that. If any one faces the below issue then try the solution given below.Issue : Connection to CRM...

The post Dynamics CRM V9 / D365 connection Error Console or Custom Web Application appeared first on Microsoft Dynamics 365 Blog.

]]>
Last Night I Created a new Organisation and Connected it with console app an then I faced a strange issue in CRM v9 while connecting to Org Service with D365 through web API. It was perfectly working before that. If any one faces the below issue then try the solution given below.

Issue : Connection to CRM V9 / D365 from console application or Custom Web application failed with exception

Error Observed:

Message : “One or more errors occurred.” 
Source : “mscorlib”




ROOT CAUSE:
Its all because of the latest update in the Microsoft TSL(Transport Security Layer) Protocol in SDK assemblies..Microsoft allowed the TSL connection 1.0  and 1.1 for the browsers or client to connect the CRM org.Now Microsoft will support only TSL 1.2 or above going forward(Reference) . If you are connecting your org with the old version of plugin registration tool , then you may face this issue
SOLUTION:
Include the below reference to your project(to global config file the line before where your client credentials is configured) and change the .Net framework to 4.6.1 and rebuild 
“ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12”

Code Snippet :

//Create an HTTP client to send a request message to the CRM Web service.
                using (HttpClient httpClient = new HttpClient(messageHandler))
                {
                    //Specify the Web API address of the service and the period of time each request
                    // has to execute.
                    httpClient.BaseAddress = new Uri(serviceUrl);
                    httpClient.Timeout = new TimeSpan(0, 2, 0);  //2 minutes

                 
                    ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls11 | SecurityProtocolType.Tls12;

                    //Send the WhoAmI request to the Web API using a GET request.
                    var response = httpClient.GetAsync(“api/data/v9.0/WhoAmI”,
                            HttpCompletionOption.ResponseHeadersRead).Result;

                    if (response.IsSuccessStatusCode)
                    {
                        //Get the response content and parse it.
                        JObject body = JObject.Parse(response.Content.ReadAsStringAsync().Result);
                        Guid userId = (Guid)body[“UserId”];
                        Console.WriteLine(“Your system user ID is: {0}”, userId);
                    }
                    else
                    {
                        Console.WriteLine(“The request failed with a status of ‘{0}'”,
                               response.ReasonPhrase);
                    }
                }

Happy Coding 😊

SOURCE : https://community.dynamics.com

The post Dynamics CRM V9 / D365 connection Error Console or Custom Web Application appeared first on Microsoft Dynamics 365 Blog.

]]>
http://microsoftdynamics.in/2018/01/04/dynamics-crm-v9-d365-connection-error-console-or-custom-web-application/feed/ 7 2761
Getting Started Free Trial – Live Assist for Microsoft Dynamics 365 http://microsoftdynamics.in/2017/12/20/getting-started-free-trial-live-assist-for-microsoft-dynamics-365/ Wed, 20 Dec 2017 12:34:00 +0000 http://microsoftdynamics.in/2017/12/20/getting-started-free-trial-live-assist-for-microsoft-dynamics-365/ Providing exceptional customer experience is the new competitive advantage. CaféX Live Assist™ for Microsoft Dynamics 365 enables personalised, omnichannel customer engagement that will delight your customers and improve your agents’ productivity. Hosted in the Azure cloud, the combined solution embeds real-time customer interaction within the Unified Service Desk and web clients for Dynamics 365. The immersive solution...

The post Getting Started Free Trial – Live Assist for Microsoft Dynamics 365 appeared first on Microsoft Dynamics 365 Blog.

]]>
Providing exceptional customer experience is the new competitive advantage. CaféX Live Assist™ for Microsoft Dynamics 365 enables personalised, omnichannel customer engagement that will delight your customers and improve your agents’ productivity.
Hosted in the Azure cloud, the combined solution embeds real-time customer interaction within the Unified Service Desk and web clients for Dynamics 365. The immersive solution extends in-app live assistance to customers, who can interact with service representatives via text, co-browsing, bot escalation and more.
With CaféX Live Assist and Dynamics 365 tightly integrated, you can:
o   Proactively engage with chat
o   Problem solve faster with co-browse and bots
o   Ensure a 360-degree view throughout customers’ journeys
o   Reduce operating costs and increase online sales
o   Deliver best-in-class digital experiences based on customers’ unique preferences including mobile and web channels.
Prerequisites
The prerequisites for  link Live Assist to Microsoft Dynamics 365 Customer Engagement  include:
o   An instance of Dynamics 365 Customer Engagement (Online)
    • You can request a trial of Dynamics 365 for Customer Engagement here
Setting Up Live Assist for Microsoft Dynamics 365

Step 1 – Validate / Promote your Current User to Admin 
1) Login into Your Microsoft D365 Account and navigate to Security Under Settings


2) Go to Users 



3) Select your current user and click on the ribbon button to Promote To Admin 
4) Click on OK 
  
Step 2 – Configure Live Assist for Dynamics 365

Navigate to Settings and then click on Dynamics Marketplace  
A popup will open type live in search box and you will see the below screen click on Free trial  

Validate the information and click on continue button by accepting the terms and condition

Select your organisation and press on Agree button to agree Microsoft Legal stuff 

On setup Live assist page validate the Dynamics 365 Instance page, enter your email address , accept cafex terms and condition and press on Submit

This configures the Live Assist on the specified Dynamics 365 Instance and also sends the email to the email id specified.

Step 3 – Login into Live assist Admin Center

After some time you will get an email confirmation on your provide email address once your live assist environment is configured 

Press on to login Button 

Enter and validate the details and Click on Confirm and Authorise

Click on Accept Button 
Select with the option for I wish to Begin my trial
Now you will be redirected to your Dashboard of the admin center.

Your are done with setting up Live Assist for Microsoft Dynamics 365

Click on to Get Started button to get started with Live assist



Happy CRMing 😊
Learn more

The post Getting Started Free Trial – Live Assist for Microsoft Dynamics 365 appeared first on Microsoft Dynamics 365 Blog.

]]>
2763