Ottobre 19, 2020

CRM for outlook 2015 – configuration error

A seguito dell’installazione del client CRM for Outlook 2015, durante il processo di configurazione potrebbe apparire il seguente errore:

Failed to refresh entry. ExceptionMicrosoft.Crm.Application.SMWrappers.InvalidOrganizationIdException:

Invalid OrganizationId “xxxxxxxxx-xxxx-xxxx-axxx-xxxxxxxxxxxxx”.
at Microsoft.Crm.Application.SMWrappers.ClientOrganizationContextFactory.Get(GuidorganizationId)
atMicrosoft.Crm.Application.SMWrappers.ClientOrganizationContextFactory.Microsoft.Crm.IOrganizationContextFactory.GetOrganizationContext(Guid organizationId)
at Microsoft.Crm.Caching.CrmMultiOrgCache`2.RefreshClientEntryCallback(String key)
at Microsoft.Crm.ClientCrmCache`1.RefreshEntryWaitCallback(Object keyString)

 

In apparenza sembrerebbe un problema di CRM nel recuperare l’organizationID dal database di riferimento.

Questo problema si manifesta in realtà quando viene abilitato l’SPN per lavorare con i CRM  FetchXml reports.

La soluzione consiste nell’abilitare la chiave useAppPoolCredentials nel file di configurazione del website CRM hostato in IIS

system.webServer => security => authentication => windowsAuthentication

settando questo parametro a True

E’ possibile effettuare questa operazione  manualmente editando il file .config o utilizzando il configuration editor del Web site CRM in IIS

About The Author

Founder & CEO of Logol AG www.logol.com Microsoft MVP Business Solutions Active member of Scrum Alliance with the certifications CSM and CSP I got Microsoft MCP, MCPD, MCTS certifications as well.Logol, pioneering specialist in the field of cloud-enabled digital transformation, is the first operator specifically created to implement modular programs designed to unleash breakthrough innovation and rationalize business processes. Founded and directed by an award-winning expert tapping directly into the vision of leading IT companies and spearheading forward-thinking digitalization projects, Logol addresses the needs of enterprises in all sectors as they embrace new technologies and organizational change in the era big data and artificial intelligence. Logol helps organizations leverage the power of the most advanced cloud technologies, offering end-to-end consultancy for total digital transformation and business process automation, employing agile methodologies and change management techniques for smooth transitions towards new business paradigms. Digital transformation programs are a milestone in a company’s business evolution and can be the basis of their success. Accompanying clients as they transform their business processes, Logol assists them in rethinking not only the scope of their technologies, but also the strategy, mindset and company culture that make digital transformation viable and effective. As digital transformation programs are successful only if approached with the highest professional competence, Logol selects and employs brilliant professionals who demonstrate outstanding technical expertise in the most advanced information technologies, in depth strategic knowledge of business processes and innovation, and refined soft skills to better support people and organizations facing change. Logol is headquartered in Switzerland and addresses the needs of both public and private sector players by promoting a comprehensive and proactive approach to digital transformation as a necessary step for inclusion and competitiveness in today’s digital economy.

Related posts