Skip to main content

Posts

Sitecore 10.2 error: Failed to start service 'Sitecore Marketing Automation Engine Service"

Sitecore 10.2 error: Failed to start service 'Sitecore Marketing Automation Engine Service" I was facing an issue restarting "Sitecore Marketing Automation Engine Service" and getting the below error: Application: Sitecore.MAEngine.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.InvalidOperationException at Sitecore.XConnect.Client.XConnectClientConfiguration.CheckInitialized() at Sitecore.XConnect.Client.XConnectClientConfiguration.get_CurrentModel() at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitFactory(Microsoft.Extensions.DependencyInjection.ServiceLookup.FactoryCallSite, Microsoft.Extensions.DependencyInjection.ServiceLookup.RuntimeResolverContext) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2[[Microsoft.Extensions.DependencyInjection.ServiceLookup.RuntimeResolverContext, Microsoft.Ext

Sitecore Technology MVP Award 2023

 The Sitecore MVP Award celebrates the most active Community members worldwide who provide valuable online and offline expertise that enriches the community experience and makes a difference. I am pleased to announce that I have been naming a " Most Valuable Professional (MVP) " by Sitecore. After working for more than 7+ years in Sitecore it was fascinating to achieve this milestone which was my dream.  I am really thankful to everyone who has supported me in this journey and guided me. More details about the Sitecore MVP Program you can find  here

"An error with Nouce cookie occured" in Sitecore Single Sign-On

"An error with Nouce cookie occured" in Sitecore Single Sign-On I have implemented  Sitecore Single Sign-On using Custom Identity Provider  in my project. This is working fine on-premise but when I deployed it on AWS then this SSO functionality was not working on Chrome and I was getting the below error: Error: Solution: After some research, I found that I need to pass `CookieManager` property in `oidcOptions` object as mentioned below code: public ProjectIdentityProvider( FederatedAuthenticationConfiguration federatedAuthenticationConfiguration, ICookieManager cookieManager, BaseSettings settings) : base(federatedAuthenticationConfiguration, cookieManager, settings) { this.cookieManager = cookieManager ?? throw new ArgumentNullException(nameof(cookieManager)); } protected override void ProcessCore(IdentityProvidersArgs args) { var authenticationType = this.GetAuthenticationType(); var identity

Part 5: Sitecore Dynamic CRM Connector: Sync Custom Facets(Checkbox Field)

Part 5: Sitecore Dynamic CRM Connector: Sync Custom Facets(Checkbox Field)  Part 1:  Install Sitecore Connect™ for Microsoft Dynamics 365 for Sales 7.0.0 for Sitecore 10.2 XP Part 2:  Sitecore Connect™ for Microsoft Dynamics 365 for Sales 7.0.0: Configure Endpoints Part 3:   Sitecore Dynamic CRM Connector: Use Delta Settings while Syncing Contact from Sitecore to CRM Part 4:  Sitecore Dynamic CRM Connector: Sync Marketing List from CRM to Sitecore   In this blog, we are going to sync custom facets from Sitecore to CRM. The custom facets document is available here  so I am assuming that you have already created custom facets.  Go to this location "/sitecore/system/Settings/Data Exchange/Providers/xConnect/Collection Models" and create a new "Collection Model Folder". Inside this folder create a "Compiled Collection Model" and type the namespace and assembly name of your custom facet model in the "Collection Model Type" field. Go to this location &

Part 4: Sitecore Dynamic CRM Connector: Sync Marketing List from CRM to Sitecore

Part 4: Sitecore Dynamic CRM Connector: Sync Marketing List from CRM to Sitecore Part 1:  Install Sitecore Connect™ for Microsoft Dynamics 365 for Sales 7.0.0 for Sitecore 10.2 XP Part 2:  Sitecore Connect™ for Microsoft Dynamics 365 for Sales 7.0.0: Configure Endpoints Part 3:   Sitecore Dynamic CRM Connector: Use Delta Settings while Syncing Contact from Sitecore to CRM I had a requirement that I want to sync the marketing list from CRM to Sitecore. Sitecore already has a pipeline to sync the marketing list and contact which is related to that marketing list but there are some other steps that need to do which I am going to mention in this blog because I found it difficult to find all steps in any document. Steps: Go to the CRM and create a new Marketing List. Add a member to this marketing list.              Go to the "Dynamics Marketing Lists to xDB Reference Data Sync" pipeline from this location /sitecore/system/<Data Exchange>/<Tenant >/Pipeline Batches/Dyn

Part 3: Sitecore Dynamic CRM Connector: Use Delta Settings while Syncing Contact from Sitecore to CRM

Part 3: Sitecore Dynamic CRM Connector: Use Delta Settings while Syncing Contact from Sitecore to CRM I faced an issue while I was syncing contacts from Sitecore to CRM all contacts were syncing but I wanted to sync only that contact which is not being synced in the last batch so to resolve this issue I used the existing delta setting pipeline as mentioned below: Steps: Go to this location  /sitecore/system/<Data Exchange>/<Tenant>/Pipelines/xConnect Contacts to Dynamics Sync Pipelines/Read Contacts from xConnect Pipeline. Right-click and select Insert the "Set Use Delta Settings Pipeline Step" pipeline. Move this pipeline after the "Add xConnect Client to Context" pipeline. In the "Context Value Reader" field select the "Value Readers/Common/Pipeline Batch Last Started Reader" value. In "Operator" select "On or after the selected date" or any other value which you require. Now when you will run the "xConnect

Sitecore Content Sync with Sitecore Content Serialization in Azure DevOps

Sitecore Content Sync with Sitecore Content Serialization in Azure DevOps I have been working on Sitecore 10.2 with  Sitecore Content Serialization and I wanted to deploy Sitecore items on VM using Azure DevOps. When I started working on deployment, I rarely find blogs related to this so I thought to write a blog on this topic: Prerequisite: Configure a non-interactive client login Log in to a Sitecore instance with Sitecore Command Line Interface Step 1: Add a task in the Azure DevOps pipeline In the pipeline, add a PowerShell task. This PowerShell task will generate the Sitecore content package. In the PowerShell task, update the below settings: Task Version: 2.* Display Name :  PowerShell Script - Content Package Creation Type : Inline Script: Step 2:  Add a task in the Azure DevOps release pipeline Add a new PowerShell task In the PowerShell task, update the below settings: Task Version: 1.* Display Name :  PowerShell Script Type : Inline Script Arguments:  -workingDirectory "

Sitecore Single Sign-On using Custom Identity Provider

Sitecore Single Sign-On using Custom Identity Provider In the previous blog, we discussed Azure AD Integration with Sitecore  for content management. Now in this blog, we are going to discuss how we can allow the end users to log in through SSO. Single Sign On allows users to enter credentials only one time instead of entering the credentials on each application. Sitecore identity server that comes with Sitecore 9.1 allows you to log in through an external identity provider like Azure Active Directory, Facebook, Apple, or Google. It is built on Federation Authentication. Sitecore Identity. Below are the steps: Step 1: Configure OpenID Connect Create a pipeline processor to configure OpenID connect to talk to custom identity providers. Step 2: Patch File Create a patch file that will register a custom Sitecore identity. Step 3:  Login Button Functionality Now on clicking on the login button, you need to redirect to SSO so for this controller add below code: SXA: In the SXA website you