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();