Showing posts with label CRM. Show all posts
Showing posts with label CRM. Show all posts

Tuesday 1 May 2018

Action Microsoft.crm.setup.shared.analyzerbase+collectaction failed



We have installed MS Dynamics CRM 2016 on-premise successfully. We created an SSRS report and deployed it and is running successfully. But when I went to the Reports area in CRM, I found out that there are no reports installed. I tried to create a new report and I got the error:
Report Wizard reports are not available because the Microsoft Dynamics CRM Reporting Extensions component is not installed
I googled it and found out this article. When I try to install the SetupSrsDataConnector, I am able to run the wizard, accept the license agreement, but after that I am getting the below error:
Can anyone suggest the solution or the root cause to this?
1. Navigate to the Start Menu (or Windows key + R will perform steps 1 and 2)

2. In the search bar, type Run and hit enter

3. In the open lookup, type Regedit and hit enter

4. Expand the Windows Registry tree to the following registry directory:

HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Installer\UserData\S-1-5-18\Components\0EF1E6B4EFCDA2649B26A424D56DAACD
a. HKEY_LOCAL_MACHINE
 b. Software
 c. Microsoft
 d. Windows
 e. CurrentVersion
 f. Installer
 g. UserData
 h. S-1-5-18
 i. Components
j. 0EF1E6B4EFCDA2649B26A424D56DAACD

5. Examine the registry key '0EF1E6B4EFCDA2649B26A424D56DAACD' for multiple string value registry entries

 a. A single string value should be present in this directory - the scenario outlined in the symptom will result in two string registry entries being created.

6. Right-Click on the registry key 0EF1E6B4EFCDA2649B26A424D56DAACD and select Export

 a. Save the registry backup to a location on the local computer

7. Right-Click on the registry key 0EF1E6B4EFCDA2649B26A424D56DAACD and select Delete

 Note: This key is created during setup and will be recreated as part of the setup process

8. Start the Microsoft Dynamics CRM 2016 Report Authoring Extensions installation wizard
 



Wednesday 19 July 2017

Execute CRM workflow on bulk records

Did you get a requirement to run your workflow for all active records ? if yes then this post going to help you to implement the same. OOB in MS CRM web client we can run our on-demand workflow only for 250 records, but there are some workaround to overcome this limitation, for example we could use MS CRM Outlook client, because in outlook client there is no limitation for number of records in per page. If you are using outlook client for MS CRM and interested in this workaround check this.
But if you are not use outlook client for MS CRM then you can use Workflow Execution Manager from MSCRM ToolKit. In this post we are going to provide step by step instruction how to use this tool.
So for implementing this requirement we need to follow three steps
  • Create a on- demand workflow for your requirement.
  • Get FetchXML query for your entity records.
  • Configure Workflow Execution Manager to run your workflow.
Create a on- demand workflow
Let’s create our on-demand workflow, in our example we are creating workflow on Account entity to set custom category as standard. So navigate to Settings->Process ->New and fill below details
Process Name:
Entity: Account
Category: Workflow

Click ok and add update step to set account category as “Standard” (click on Set Properties button to set account record category) . Save and Activate our workflow , after completion our workflow should look like below.

Get FetchXML
Now navigate to Advance find and design your query and click on Download Fetch XML to get fetchxml query

Configure Workflow Execution Manager
Download MS CRM Toolkit from codeplex and extract it. Click on MSCRMToolKit.exe to start and follow below steps.
  • Select Connection Manager and fill below details

  • Test your connection and close connection manager dialog.
Start Workflow Execution Manger from Tool menu and follow below steps
Profile: Provide any name.
Source: Select your connection name.

Click on (Re) Load Workflow button to load your all on-demand workflows.
Paste your query in Records Query text field and Save your profile from File menu.
It should look like below

Click on Execute workflow, it will start your workflow and will process all resultset based on query provided.

https://community.dynamics.com/crm/f/117/p/204264/675698#675698

 

Azure AzCopy Command in Action

Azure AzCopy Command  in Action -  Install - Module - Name Az - Scope CurrentUser - Repository PSGallery - Force # This simple PowerShell ...