RuleDeploymentException: Failed to access the default store for the user - dynamics-crm-2011

I nearly spent 3 Days to fix the issue which is related to Microsoft Dynamics CRM 2011 Email Router: Rule Deployment Wizard.
I installed Microsoft Exhange 2010 on same virtual box where CRM 2011 server is installed.
The problem
Rule Deployment Wizard is not able to verify/create/delete rules for selected user's mailbox. Always the ran into exception which is given below:
"Microsoft.Crm.Tools.ExchangeConnectorDeployment.RuleDeploymentException: Failed to access the default store for the user."
Any suggestion is highly appereciable.

Related

Document management in MS Dynamics CRM 2013 without Sharepoint

As answered in other questions you can't use the free Sharepoint Foundation 2013 for document management in MS Dynamics CRM 2013.
So I ask if there is a (good *) way of using document management in Microsoft Dynamics CRM 2013 without using Sharepoint?
(* good = easy to understand for non technical users and not too complicated to manage)
I search for a way to attach all kinds of documents to different entities like:
- pictures to accounts (not profile picure)
- PDF documents to account
- ...
I know you can use notes.
I'm a bit confused because there are attachments on entities like email.
Can I integrate these attachment-functions on other entities like accounts?
edit 18.12.2014
Yes, you can use Sharepoint Foundation, we make it work (SP Foundation 2010).
I can use documentmanagement with sharepoint, but not automated because the crmlistcomponent is not working.
Maybe someone from here can help me over there:
My Question on Sharepoint stackexchange site
The attachments mechanism isn't available for common customizations, sadly. Microsoft wants us to use the notes... Except maybe ("maybe" as in "I never bothered to check due to the monstrous amount of hoops to jump through while having almost no benefits") for activity entites.
That said, you can use SP 2013 Foundation for document management, if you want. Here's the step-by-step guide. We deployed a CRM 2013 + Document Management based on SP Foundation just a couple of days ago following these steps.
To Run the Microsoft SharePoint Foundation Sandboxed Code Service, follow the below steps.
SharePoint Central Administrator
Under>> Service Applications
Manage services on server
Look for>>Microsoft SharePoint Foundation Sandboxed Code Service is running
Start the service
After completing all the 5 steps
To Install List Components in SharePoint
Go to Site Settings
Under>> Web Designer Gallery>> Click on “Solutions”
Click on Upload solution
and Click on Activate
To Set Broser File handling to Permissive
Go to SharePoint Central Administration
Application Management
On the Ribbon click onthe General Setting
Web Application Generation Setting pop-up window will appear
Scroll down to look for Browser file handling >> Select >>Permissive
Click Ok, save settings and restart the server/IIS
try to Activate the List compoent
Ensure the after successful activation will enable the Deactivate button.
Sometime it is very annoying you need to do several click to get this working.
Go to CRM and add the URL into Document management, all will work fine.
FYI the "CRM 2013" list component retains the 2011 look-and-feel.

Add multiple organizations in CRM 2011

I have installed CRM 2011 server. when i try to add a second organization to the CRM server through CRM Deployment Manager it gives a warning message "To Create a new Organization, the wizard must remove the current organization ''. after the wizard completes you will no longer have access to this organization."
couldn't find anything useful through google also. please let me know if anyone has an insight.
Thanks
This is because the license key used is for workgroup server which limits you to 1 organisation and 5 users. To fix this change the license key to a server edition.
See this for server editions: http://technet.microsoft.com/en-us/library/hh699677(v=crm.5).aspx

How to create a new user on Dynamics CRM Online through calling APIs

I want to design an application to sync user information between local system and CRM online. I found we can't create user in CRM online through APIs directly as CRM on-premise. System said we only can add user through office 365 admin portal. But I have no idea about how to use office 365 APIs to create CRM online user. Did you guys encounter the situation before? Please help me, thanks!
Ok, let me answer my question. Right now if we want to operate Dynamics CRM Online User or License information, we need to operate Active Directory Graph Service associated with CRM Online. This Service is a web api based service. We can get the example code on "http://visualstudiogallery.msdn.microsoft.com/7e947621-ef93-4de7-93d3-d796c43ba34f", and current there is one helper library can be used you guys can download it on http://code.msdn.microsoft.com/windowsazure/Windows-Azure-AD-Graph-API-a8c72e18.

Cant connect to CRM server via outlook 2013

I have installed CRM server on my server and via browser on client machine ,
I have access to my CRM ,But when I'm trying to connect my outlook to CRM appear an
error as : There is a problem with communicate with Dynamics CRM server or server might be unavailable.
In other hand hand when I'm choosing CRM ONLINE the login page appear for me but show me error from user and password.
Anybody can help?
Thanks
Mohammad
Did you install the CRM 2013 Outlook Client (download here) ?
If no then follow the next tutorial.

Visual Studio 2012: can't connect to sharepoint site

I'm trying to create a simple webpart using Visual Studio 2012 but when I try to validate my Sharepoint Server it says:
Cannot connect to the SharePoint site: "url" that the Site URL is valid, that the SharePoint site is running on the local computer, and that the current user as the necessary permissions to access the site.
i have SharePoint 2013 installed on my local machine and I can browse the site.
I tried this solution (resolving-vs-2010-solution-deployment-issues-for-sharepoint-2010-projects) and added my user as in mentioned DBs. For confirmation i ran executed the query :
Add-SPShellAdmin -UserName domain\username
and the result was :
"Cannot add dcci\User2 to the SharePoint_Shell_Access role of the database SharePoint_Config. A possible cause of this error is that the account name was already added to the database as a login using a different user name than the account name."
Secondly, I have configured the Alternate access mapping for my site, it is running on port 91 for one zone and on default 80 other. I have tried both the URLs to validate the result. below is the detail from event viewer.
RegOpenKeyExW(-2147483646,SYSTEM\CurrentControlSet\Services\VSS\Diag,...)
0x80070005, Access is denied.
Operation: Initializing Writer Context: Writer Class Id: {0ff1ce15-0201-0000-0000-000000000000} Writer Name: OSearch15 VSS Writer Writer Instance Name: OSearch15 Replication Service Writer Instance ID: {e8767b85-1452-4bd1-8091-6fe8ed6fd8ce}
Any help would be really appreciated.
Verify that your Login is in the db_owner group on the SQL Instance.
Follow this guide step by step and verify each step is true: Account Permissions and Security Settings in SharePoint 2013. This one is more detailed and maybe a little overboard for what you need, but it is the long path for access rights. Refer to #2 for a simpler path.
Another good simple guide: Prepare your SharePoint 2013 farm for App development and debugging. This Guide fixed most of my local development needs.

Resources