Skip to main content

Posts

There was a problem with your single sign-on account. Please sign out of all Microsoft Dynamics 365 apps and sign in again.If this continues, have your administrator contact Microsoft Support with client session ID

There was a problem with your single sign-on account. Please sign out of all Microsoft Dynamics 365 apps and sign in again. If this continues, have your administrator contact Microsoft Support with client session ID Omnichannel for Customer Service Agent Login  Issue  Solution :  Troubleshoot issues in Omnichannel for Customer Service | Microsoft Docs   this is an error related to authentication and the security settings in the organization. This is issue is most commonly caused by security defaults. In order to resolve this error please: Check if Security Defaults is turned on. If it is turned on, the agent should have the right authentication set up. Alternatively, Security Defaults can be switched off if it is not required. To learn more about Security Defaults, see the topic   What are security defaults? If your tenant is configured with Azure Security Defaults, make sure your users have multi-factor authentication set up on their accounts. Otherwise, the...
Recent posts
Sample Code to Check Connectivity with Dynamic 365 CE using Tooling Connector  Ref:  https://docs.microsoft.com/en-us/powerapps/developer/data-platform/org-service/quick-start-org-service-console-app https://carldesouza.com/connecting-to-dynamics-365-using-crmserviceclient/ Retrieve Multiple Sample    using Microsoft.Xrm.Sdk; using Microsoft.Xrm.Sdk.Query; using Microsoft.Xrm.Tooling.Connector; using System; using System.Net; namespace OrganizationServiceSample {     class Program     {         static void Main(string[] args)         {             string connectionString = "AuthType=OAuth;Username=demo1@*******.onmicrosoft.com;Password=********;Url=https://*******.crm4.dynamics.com;AppId=51f81489-12ee-4a9e-aaae-a2591f45987d; RedirectUri=app://58145b91-0c36-4500-8554-080854f2ac97;LoginPrompt=Auto";             CrmServiceClient conn = new CrmServiceCl...

How to Integrate WhatsApp with Dynamics 365 Omnichannel – On Trial

How to Integrate WhatsApp with Dynamics 365 Omni Channel – On Trial Pre Requisites a.        Trail Environment with Customer Service Enabled, Preferably Netherlands as Location Ref : https://docs.microsoft.com/en-us/dynamics365/omnichannel/try-channels b.        Twilio Trial Account Ref : https://www.twilio.com/docs/usage/tutorials/how-to-use-your-free-trial-account#sign-up-for-your-free-twilio-trial Let’s Start the Configuration! Configuration: Dynamics 365 Channel Integration Framework - V2 1.        Go to dynamic 365 administration center via below link after logging to trial account https://port.crm4.dynamics.com/G/Applications/Index.aspx 2.        Make Sure Channel Integration Framework in Enabled, like in below screen shot else, configure it . By default, this should have enabled. Configuration: Omnichannel for Custo...

Call web service from CRM with windows authentication - Sample Code

Call wcf web service with windows authentication - Sample Code Sample Code to Consume Web Service private SurveyWrapperServiceClient CreateClientService()         {             try             {                 SurveyWrapperServiceClient _WrapperClient = new SurveyWrapperService.SurveyWrapperServiceClient();                 string Domain = WebConfigurationManager.AppSettings["SurveyModule.ProxyDomain"].ToString();                 string User = WebConfigurationManager.AppSettings["SurveyModule.ProxyUser"].ToString(); ;                 string Password = EncryptionHelper.GetDecodedText(WebConfigurationManager.AppSettings["SurveyModule.ProxyUserPassword"].ToString());                 _ WrapperClie...

Execute/Access CRM actions from Iframe using Javascript- Dynamics CRM 2016 / 365 (Turbo Forms)

Execute/Access CRM actions from Iframe using Javascript- Dynamics CRM 2016 / 365 (Turbo Forms) Some times we need to perform CRM Page actions from Iframe , for that purpose use below code snippet . Code to be written on Iframe Page window.parent.postMessage("Submitted", "*"); Code to be written on CRM Form Javascript if (window.XMLHttpRequest)     window.parent.addEventListener( "message" , receivePostMessage, false ); else     window.parent.attachEvent( 'onmessage' , receivePostMessage); function receivePostMessage(e) {          if (e.data == "Submitted" ) {         // CRM Actions  , here I am closing the form as an example.         Xrm.Page.ui.close();     }

How to hide CRM 2016 / 365 bottom save button using Javascript (Turbo Forms)

How to hide CRM 2016 / 365 bottom save button using Javascript (Turbo Forms)  Some time client will request you to hide the bottom right corner save button in status bar to prevent the user click. You can use below JavaScript snippet to do that. function  hideSaveFooter() {      try {         $(window.parent.document).ready( function () {             setTimeout( function () {                  try {                      debugger ;                     $( "#savefooter_statuscontrol" , window.parent.document).hide();          ...

Dynamics CRM 2016/365 Field Properties

Dynamics CRM 2016/365 Field Properties  Every time you create new field, remember that there are several properties that you can configure this field. All properties are described as following points: Display Name : The label of the field, visible in all the places where field is referenced such as forms, views, and reports. Name : The logical name of the field;   Description : This is used to provide additional information or setup tooltips for the field. Field Requirement : The requirement level of the fields. It has three options: Business Required, which is mandatory; Business Recommended, which means it is recommended for business: and Optional. Searchable : This property defines whether we can query the entity record based on this field or not using advanced find. Field Security : Used to protect fields based on the field level security profile; we can configure the field level security for both...