How to get Dynamics CRM Version number using CRM SDK and C# Console Application?

Use the below code to get the Dynamics CRM Version number using CRM SDK and Console Application C#.

RetrieveVersionRequest request = new RetrieveVersionRequest();

RetrieveVersionResponse response = (RetrieveVersionResponse)organizationService.Execute(request);
Version version = new Version(response.Version);
and include the above code to check the result.
Final code looks like the below.
Retrieve Version Request and Response
Retrieve Version Request and Response - Output
This feature was released in Microsoft Dynamics CRM 2015 Online Update 1
(v7.1) and will work perfectly in the below CRM versions
Dynamics 365 (online), Dynamics 365 (on-premises), Dynamics CRM 2016,
Dynamics CRM Online

Dynamics CRM 2015 Business Rules – Are you ready?

Adisys Technology Corner

Dynamics CRM 2015 – Scope of Business Rules

Business Rules was introduced in Dynamics CRM 2013 which was restricted to client side only. Now with  latest CRM 2015, server side business rule is available which will help business user easily configure validation logic and reduce the development effort.

There are three levels of scope:

ScopeWhere it runs run
EntityAll forms and server
All formsAll forms
Specific formJust that form

In the top right of the form, use the Scope field to set the scope for the rule. “Entity” scope level is new in CRM 2015. Setting the scope of the business rule at an entity level, forces the business rule executed on both server and all clients side.

For example, on update of an entity record we will set “Description” field mandatory based on some conditions. So in this case we can create Business…

View original post 198 more words

How to get users details under Teams using SQL query in CRM?

Run the below query to get all the users details under all the Teams available in CRMS.

Select [Team Name],
SysUser.Fullname [User Name],
SysUser.mobilephone [Mobile Phone],
SysUser.internalemailaddress [Primary Email]
dbo.FilteredSystemUser SysUser
inner Join
dbo.FilteredTeamMembership TeamMem
on SysUser.Systemuserid = TeamMem.Systemuserid
Inner join dbo.FilteredTeam Team
on Team.TeamID = TeamMem.TeamID
–where in –Uncomment this where condition to specify the required Team names
–Sales Person
order by Team.NAME

D365: Dynamics 365 Developer Toolkit for VS 2017

Ajit Patra

Dynamics 365 Developer toolkit for Visual Studio 2017 can be installed by following the below steps:

  1. Download Dynamics 365 Developer Toolkit for VS 2015 from here.
  2. Once it is downloaded, extract the content of it to a foldera
  3. Open the folder to which the content has been extracted and open the file “extension.vsixmanifest” in a notepad or text editor.b
  4. Change the version number number from 14.0 to 15.0 as highlighted below and save the file:l
  5. After changing, it looks like below:m
  6. Select all the content in the extracted folder (from Step 2 above) and zip ite
  7. Rename the file to a [unique name].vsix and save it. Click Yes on Rename pop up.f
  8. Double click on the vsix file created in the step above and click on Install.g
  9. It’ll show a warning for incompatibility with VS 2017. Click on Yes and Proceed.h
  10. Installation will be started for VS 2017.

View original post 40 more words