Posts

Showing posts from July, 2019

Unified Service Desk generic error: Creating An Instance with CLSID from the IClassFactory failed

Image
Sometime user get this error when they open Unified Service Desk: Creating an instance of the COM component with CLSID {0002DF01-0000-0000-C000-000000000046} from the IClassFactory failed due to the following error: 8150002e Exception frm HRESULT: 0x8150002E



For resolving this issue simply do the following steps and then re-start your USD and that's it, issue solved :)

1. Open Task Manager
2. Goto Details tab
3. Look for all iexplore.exe
4. Right click on each of them and select 'End process Tree'

How to establish Server-to-Server Authentication | Dynamics D365 | Azure | CRM Web API

Image
In this blog, I'll explain all steps that how to establish server-to-server authentication using Application User and Azure active directory.
I have a very basic requirement to fetch case guid from incident entity based on ticket number from CRM using S2S authentication i.e without using any CRM user credential. Follow the below steps:
Step 1:First of all we need to create an App in the Azure application directory : Goto http://portal.azure.com and enter your credentials.Goto Active Directory > App Registrations > New RegistrationsProvide all basic details as in screenshots below and click on Register




Once the application is created, you will get an application ID (marked with red arrow in image below), copy and paste somewhere; this is your client ID


Next step is to create Client Secret for which click on 'Certificates and Secrets' (or Keys for old Azure UI) as shown in image below. This key is used to establish connection in your application. Click on 'New Client…
go to top image