Search This Blog

Tuesday, January 31, 2017

Create a wild card certificate for Dynamics CRM


There are two ways

  • MakeCertificate
  • Powershell

 MakeCertificate

  • Open command prompt
  • Go to makecert.exe directory cd C:\Program Files (x86)\Windows Kits\8.1\bin\x64(check the path were your makecert.exe file is present)
  •  Make your certificate

makecert.exe -r -pe -n "CN=*.contoso.com" -b 01/01/2010 -e 01/01/2050 -eku 1.3.6.1.5.5.7.3.1 -ss my -sr localMachine -sky exchange -sp "Microsoft RSA SChannel Cryptographic Provider" -sy 12

(change the name contoso with your domain name. To check the domain name open Server Manager→ Local Server→ Domain)

Power Shell

PS C:\Test> . .\New-SelfSignedCertificateEx
PS C:\Test> New-SelfSignedCertificateEx -Subject "CN=*.minsa.org" -EKU "Server Authentication" -KeyUsage 0xa0 -StoreLocation "LocalMachine"  -ProviderName "Microsoft Strong Cryptographic Provider" -Exportable

Check user has Domain ADMIN rights in the server/machine

Check user has Domain ADMIN rights in the server/machine

Login AD server and type cmd in run window.

net group "Domain Admins"

Check user has ADMIN rights in the server/machine

Check user has ADMIN rights in the server/machine

Type cmd in the run windownet group "Domain Admins"




Right click the administrators and click properties you can see the users who are in the list

Monday, January 30, 2017

Check port number is opened or not

Check port number is opened or not

You can check if a port is open in your network by issuing the telnet command. If it is open, you will see a blank screen after issuing the command:

telnet [domainname or ip] [port]

where

[domainname or ip] is the domain name or IP address of the server to which you are trying to connect
[port] is the port number where the server is listening
If the port is open, you will see a blank screen. This will mean that connection is successful.

For example

telnet contoso 443



Wednesday, January 25, 2017

Dynamics CRM 2016 Installation pre-requistics-Basic

Dynamics CRM 2016 Installation pre-requistics

  • Provide the access to CRM PROD SQL Server to take CRM SQL back up
  • Provide the access to CRM TEST SQL Server
  • Provide the path of the CRM installation software
  • Provide administrative access to new CRM TEST server to install the CRM
  • Create the service accounts for the below services with the suffix as “DEV” . For Eg:-    Crm_App_Svc_DEV (Application Service)
    • Application Service
    • Deployment Web Service
    • Sandbox Sync Service
    • Async Processing Service
    • VSS Writer service
    • Monitoring service
  • Create separate organization unit for CRM and in that organization please add Karya user and let us know the name of the organization. The following permissions are needed for the Karya user in that organization unit.
    • Create, delete and manage user accounts
    • Read all user information,
    • Create, delete and Manage Groups
    • Modify the membership of a group

Purpose of OU:

  • To create an Organization Unit in Active Directory to contain the CRM Security group that will be created during the CRM installation. 
Install Development tools
  • Install Microsoft Visual Studio 2015 Community edition
  • Install the Dynamics CRM 2013 SDK

Wednesday, January 18, 2017

Dynamics CRM email server profile setting for office 365(IMAP and POP3)

https://support.office.com/en-us/article/POP-and-IMAP-settings-for-Outlook-Office-365-for-business-7fc677eb-2491-4cbc-8153-8e7113525f6c

Friday, January 13, 2017

Access the webresource controls from another html webresource in Dynamics CRM

Access the webresource controls from another html webresource in Dynamics CRM

Accessing HTML 
parent.Xrm.Page.getControl("WebResourceName").getObject().contentWindow

Example:
parent.Xrm.Page.getControl("WebResourceName").getObject().contentWindow.window.MethodName();

Dynamics CRM 365 Pricing details

Please refer MSDN LINK below
https://www.microsoft.com/en-us/dynamics365/pricing
Enterprise editionBusiness edition
Prices for enterprise businesses

Best value

Get full use of multiple apps

Dynamics 365 Plan 1

$70 per user/month for 500-999 users
BUY
Includes these apps:
  • Dynamics 365 for Sales
  • Dynamics 365 for Customer Service
  • Dynamics 365 for Field Service
  • Dynamics 365 for Project Service Automation
+ Microsoft PowerApps and Microsoft Flow

Dynamics 365 Plan 2

$210 per user/month
CONTACT US
Includes all the Plan 1 apps + Dynamics 365 for Operations

  • Manufacturing and supply chain
  • Retail and commerce
  • Finance

Most affordable

Get light use and read access of all apps

Most targeted

Get full use of one app + light use of the rest

Team Members Enterprise edition

$4–$10
per user/month,
depending on how many users you sign up
Includes light use of these apps:
Dynamics 365 for Operations
Dynamics 365 for Sales
Dynamics 365 for Customer Service
Dynamics 365 for Field Service
Dynamics 365 for Project Service Automation
+ Microsoft PowerApps with Flow
BUY

Individual apps

$95–$190
per user/month,
depending on which apps you choose
Dynamics 365 for OperationsCONTACT US$190
Dynamics 365 for SalesBUY$95
Dynamics 365 for Customer ServiceBUY$95
Dynamics 365 for Field ServiceCONTACT US$95
Dynamics 365 for Project Service AutomationCONTACT US$95
+ Microsoft PowerAppsBUY$40

Friday, January 6, 2017

Trace/Track CRM SQL Queries using SQL PROFILER

When we use to debug the CRM query using SQL profilers, the followings are important events.
Events
Name
Error And Warning
Blocked Process report
Exeception
TSQL
SQL:Batch completed
SQL:stmt completed
Store Procedure
RPC:Completed
SP:Completed
SP:stmt completed
Locks
Dead Lock graph
Query expression to track/trace SQL query events are Store procedure ->RPC Completed

Monday, January 2, 2017

Default timeout of Dynamics CRM logout After ADFS configuration

Increase Dynamics CRM Logout timout



  • Open the windows powershell in the adminsitrator mode.Type the below command

Get-ADFSRelyingPartyTrust -Name "relying_party"

Where you replace the “relying_party” with the name you identified in




  • In our case the command will be: 

Get-ADFSRelyingPartyTrust -Name “CRM IFD Relying Party


  • The command to set the time you want to set for Auto Logout.

Set-ADFSRelyingPartyTrust -Targetname “CRM IFD Relying Party“ -TokenLifetime 720

Note: The 720 is time in minutes. 12 Hours in this case. You can change the value up and down as liked

Thanks to https://www.interactivewebs.com/blog/index.php/server-tips/crm-2015-extend-auto-logout-time-in-ifd/