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

Sunday, 29 June 2014

CRM 2011/2013 Register Assembly for Offline Plugin (for Outlook) using .bat file

In this link:
http://msdn.microsoft.com/en-us/library/gg309582.aspx

We know that to make the plugin assembly we should register the plugin key in the AllowList reg key:

Add an AllowList key
  1. Run the registry editor by selecting Start, then select Run and type regedit.exe.
  2. In the tree view pane, navigate to the AllowList key. The complete path of the key is HKEY_CURRENT_USER\Software\Microsoft\MSCRMClient\AllowList.
  3. Select the AllowList key and right click to display the context menu.
  4. Select New then click Key to create a new sub-key.
  5. Paste the public key token value into the name of the new sub-key.
  6. Close the registry editor.
Now, imagine that you should register more than 5 plugin key to the AllowList registry key to more than 10 PCs.

To make it easier and faster, you can create .bat file and just let the user to run it.
This is the format of the key:

Regedit Plugin Offline

“REG ADD HKYE_CURRENT_USER\Software\Microsoft\MSCRMClient\AllowList\[publickey] /F”

Hope it helps!

Friday, 30 May 2014

CRM 2011/ CRM 2013 Connect to CRM Using Outlook Without Joining The Domain

When you try to configure connection to CRM onPremise using Outlook, you can encounter this error.

image

"There is a problem communication with the Microsoft Dynamics CRM server. The server might be unavailable. Try again later If the problem persists, contact your system administrator" when you want to connect to CRM using CRM for Outlook Client.

or

image

It will never ask you and show you prompt to input your credential, unlike the website which will prompt you a credential box. And it is required to you to join Domain.

Basically there are 2 requirements (see number 1 and 2) that are required and recommended
(for onPremise):

1. You implemented IFD in your onpremise

2. You didn't implement IFD it's okay, but you need to login to PC that run CRM for Outlook with the user that join domain not your own user, so let's say your username: mylovelycrm/aileen.gusni

Then your PC user name to login should use this joined domain account, not your private user, for example, aileen-pc.

It will cause the error because you are not using the expected username when you use the CRM for Outlook

But, without join domain you actually can connect using Outlook.
I was thinking that let’ say we are outside from the Domain connection, then go outside without internet, why we are still can connect using the Domain\username username credential?

It is actually store your credential in the Windows Credential as well.

So, to make it works, add your URL to the Windows Credential Manager.

SNAGHTML10e40f2a

And here is the result :

image

This worked for many occassions, if you did not have both requirements, your CRM server didn't implement IFD and your Windows PC User is private user not the joined domain account (didn't meet the minimum requirements)

But, this is also based on the Network Security applied to your Organization.

And..

Of course, you are also required to ensure that the server address URL you type-in is correct and check your Deployment Manager.


Make sure the correct Binding Type (HTTP/HTTPS), server name or using IP, and Port.

Hope it helps!
Thanks.