Quantcast
Channel: Microsoft Dynamics CRM
Viewing all articles
Browse latest Browse all 154803

Forum Post: Server Side Sync with Exchange Online (hybrid)

$
0
0
We have CRM 2016 on premise. I am trying to configure SSS with Exchange Online hybrid. I have already added the Dynamics 365 hybrid connector to our 365 account. I am following the guide from Microsoft seen here: https://docs.microsoft.com/en-us/dynamics365/customer-engagement/on-premises/connect-dynamics-365-on-premises-exchange-online Everything works until the last section of powershell commands, seen here: $organizationName = “OrganizationName” $CRMContextId = “ExchangeOnlineTenantId” $orgInfo = Get-CrmOrganization -Name $organizationName $ID = $orgInfo.id if($ID) { Set-CrmAdvancedSetting -ID $orgInfo.ID -configurationEntityName "Organization" -setting "S2STenantId" -value $CRMContextId } Changing "OrganizationName" to match my on prem CRM organization name, obviously. When running this code, I receive an error: Set-CrmAdvancedSetting : Source : mscorlib Method : HandleReturnMessage Date : 9:25:49 AM Time : 6/14/2019 Error : Message: The Deployment Service cannot process the request because one or more validation checks failed. ErrorCode: -2147167645 Stack Trace : ====================================================================================================================== Inner Exception Level 1 : ==DeploymentServiceFault Info========================================================================================== Error : The Deployment Service cannot process the request because one or more validation checks failed. Time : 6/14/2019 2:25:49 PM ErrorCode : -2147167645 Date : 9:25:49 AM Time : 6/14/2019 Error Items: VerifyAllSpecifiedAtributesAreWritable raising error : One or more of the specified attributes are not valid fo update: S2STenantId ====================================================================================================================== At line:3 char:3 + Set-CrmAdvancedSetting -ID $orgInfo.ID -configurationEntityName "Or ... + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ + CategoryInfo : InvalidData: (Microsoft.Crm.P...AdvancedSetting:SetCrmAdvancedSetting) [Set-CrmAdvancedS etting], FaultException`1 + FullyQualifiedErrorId : CRM Deployment Cmdlet Error,Microsoft.Crm.PowerShell.SetCrmAdvancedSetting I cannot find any info on Microsoft's website as to what this error means or what to do about it. I also found another guide, seen here: https://blog.apex.it/2016/09/how-to-connect-dynamics-crm-2016-on-premise-to-exchange-online/ The script ConfigureCrmServerSideSync.ps1 does not exist anywhere that I can find, so this guide was not useful.

Viewing all articles
Browse latest Browse all 154803

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>