Auto deployment for Microsoft 365 Apps update fails with error code 0x87D20417 - SCCM - sccm

Our ADR for the latest Microsoft 365 Apps fails with error code 0x87D20417. The update in question is:
Microsoft 365 Apps Update - Monthly Enterprise Channel Version 2008 for x64 based Edition
Microsoft 365 Apps Update - Monthly Enterprise Channel Version 2008 for x64 based Edition
The ruleengine.log states the following:
Failed to download the update content with ID 16933834 from internet. Error = 13875 SMS_RULE_ENGINE Failed to download ContentID 16933834 for UpdateID 16996246. Error code = 13875 SMS_RULE_ENGINE
Failed to download the update content with ID 16933835 from internet. Error = 13875 SMS_RULE_ENGINE
Failed to download ContentID 16933835 for UpdateID 16996248. Error code = 13875 SMS_RULE_ENGINE
Failed to download any update SMS_RULE_ENGINE
Failed to download update contents. SMS_RULE_ENGINE
I've tried to search for a solution and so far I haven't been able to find out a fix for it. Some are saying it has something to do with certificates, others say with file permissions.
This rule has worked without any issues in the past.

It turned out to be a known issue with the 2020-10 update. Uninstall the October update then reboot
https://learn.microsoft.com/en-us/answers/questions/136944/failed-to-download-content-id-error-invalid-certif.html

Related

Microsoft Dynamics CRM 2016 Setup Failure on SQL Native Client

I attempted to install Microsoft Dynamics CRM 2013, but I get the error shown in the image
When I drill donw into the error log I noticed the following message:
Installation of Microsoft Visual C++ Runtime failed. Exit code: 5100.
Result: Asia
As a result I decided to abort the installation CRM 2013 and tried to install Microsoft Dynamics CRM Setup. Everything appears to be going in the right direction, however I keep on getting the error that the Download failed for SQL Native Client, see image.
I have turned off the Firewall to make sure that the Firewall was blocking the download.
Any thoughts on what might be going wrong?
I am tring to install on Windows Server 2012 R2 with SQL Server 2014
To resolve this problem I manually downloaded the SQL 2008 native client from Microsoft site.
Make sure to restart the Server post installation.

Error installing SQL Server Express on Windows 10 Home 21H2, 19044.1526 - Unauthorized operation

I hit the same error again and again when trying to install SQL Server Express 2019 (or older versions on two different Windows 10 Home 21H2, 19044.1526 PC's.
I get this error:
Feature: Database Engine Services
Status: Failed
Reason for failure: An error occurred during the setup process of the feature.
Next Step: Use the following information to resolve the error, uninstall this feature, and then run the setup process again.
Component name: SQL Server Database Engine Services Instance Features
Component error code: 0x84BB0001
Error description: Attempted to perform an unauthorized operation.
Error help link: https://go.microsoft.com/fwlink?LinkId=20476&ProdName=Microsoft+SQL+Server&EvtSrc=setup.rll&EvtID=50000&ProdVer=15.0.4013.40&EvtType=0x48BB60BC%400xBB814387&EvtType=0x48BB60BC%400xBB814387*
Microsoft has an KB article https://learn.microsoft.com/en-us/troubleshoot/sql/install/error-set-up-update-instances about upgrading the Edge Chromium version. It is up to date, and I have tried installing Edge using a standalone installer also.
The registry subkey in mention: HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Microsoft Edge simply does not exist.
I try installing with a minimum of features. But the error appears with installing the database engine, which is hard to live without.

Dynamics 365 (on-premises) v8.2 upgrade to v9 fails

I am trying to upgrade Dynamics 365 version 8.2.3 to version 9.0, but have some problems with it.
I've tried two scenarios on my test server:
Created backup of my real CRM database (XXXXXX_MSCRM)
Restored it on the test server.
Installed version 9.0 on the test server. Installed the latest update for it.
Did Import Organization on restored database (XXXXXX_MSCRM) via Deployment Manager. It failed.
As a result, importing failed with this exception:
System.Exception: Error.ActionFailed Microsoft.Crm.Tools.Admin.InstallDatabaseUpdatesAction ---> Microsoft.Crm.CrmException: Error in Action: Bin\Microsoft.Crm.Setup.DiffBuilder.dll:UpgradeSystemAndMetadataDiffIndexManagementDataWithDelete on attempt 3. System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.Data.SqlClient.SqlException: The constraint 'PK_topicmodelBase' is being referenced by table 'TopicModelExecutionHistoryBase', foreign key constraint 'topicmodel_topicmodelexecutionhistory'.
Created backup of my real CRM database (XXXXXX_MSCRM)
Restored it on the test server.
Installed version 8.2 on the test server.
Did Import Organization on restored database (XXXXXX_MSCRM) via Deployment Manager. It succeeded.
Installed the latest update for version 8.2. It succeeded.
Installed/Upgraded Dynamics 365 to version 9.0. It failed.
During the installation it also tried to upgrade Organization version to 9.0 and failed. So, server version 9.0 is installed, but my organization is in Failed state.
Explored the log file and got this exception:
System.Exception: Action Microsoft.Crm.Tools.Admin.InstallCrmSystemConvertedSolutionsAction failed. ---> Microsoft.Crm.PackageDeployment.PackageDeployerException: Package msdynce_MarketingSales failed to install on attempt 1.
System.AggregateException: One or more errors occurred. ---> Microsoft.Crm.MultiTenantPackageDeployment.PackageDeployerImportException: PackageDeployerWrapper: Import Failed status encountered. Details: Failed to load solution Marketing Sales Patch, version: 9.0.4.3602
and also a bunch of this kind of inner exceptions:
Error : The AttributeLookupValue (Id=81cde1dc-2241-db11-898a-0007e9e17ebd) entity or component has attempted to transition from an invalid state: ComponentStateName: Solution; ComponentOperation: Delete; ComponentSolutionType: Active; SolutionOperationContext: MoveSystemComponentToFirstPartySolution; IsProtected: False; FinalComponentState: Publish.
Did anyone faced with such a problems during the upgrade process?
Ok, I have successfully upgraded Dynamics 365 and my organization to version 9 with the second scenario.
Here is my solution:
First of all, my Dynamics 365 version and real organization's version (let's call it "RealOrg") was of version 8.2.3.8.
1. Install the latest update for Dynamics 365 8.2 (Update 2.15). No problem with it, everything should work fine. So we got 8.2.15.2 version.
2. Now we need to run setup of version 9. At the start of the installation we must choose some organization which will be upgraded to the new version <-- so here is the problem part. Whatever organization I choose, after upgrading it to v9 it will be always in Failed status, so I will lose it. What I did is created new organization via Deployment Manager, lets call it "FakeOrg" then I chose this organization to upgrade it to version 9. After that, we are able to manually upgrade "RealOrg" at any time after v9 installation.
3. Upgrade should perform successfully, despite the fact that it can show exception message (this exception probably refers to organization upgrade). So now we got "FakeOrg" of version 9.0.2.3034 with Failed status (we don't need it anymore) and "RealOrg" of version 8.2.15.2 with Disabled status, but we can see that Update option is available for "RealOrg".
4. It is important do not update "RealOrg" to new version at this step, because it will try to update organization to 9.0.2.3034 version which is pretty buggy and it will fail. We need to install first update for Dynamics 365 9.0 (Update 0.3). It performs with no problem. So now we have version 9.0.3.7.
5. We finally can manually upgrade our "RealOrg" from version 8.2.15.2 to version 9.0.3.7. It took around 2-3 hours for me, but worked fine with no problem.
6. After all, another problem I faced was this exception when I tried to access Dynamics 365 website:
Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=14.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91' or one of its dependencies
The reason of this exception is absence of report viewer .dll-s in website bin folder.
Solutions is to copy 7 .dll files from version 9 installation extracted files (you should extract files before running the setup of v9)
Copy these files:
Microsoft.ReportViewer.Common.dll
Microsoft.ReportViewer.DataVisualization.dll
Microsoft.ReportViewer.Design.dll
Microsoft.ReportViewer.ProcessingObjectModel.dll
Microsoft.ReportViewer.WebDesign.dll
Microsoft.ReportViewer.WebForms.dll
Microsoft.ReportViewer.WinForms.dll
Into this folder
C:\Program Files\Microsoft Dynamics CRM\CRMWeb\bin

GrantAspNetServiceAccountAccessAction failed when install CRM 2015

When I install MSCRM 2015, I have met the problem
Microsoft.Crm.Setup.Server.GrantAspNetServiceAccountAccessAction failed
"The parameter is incorrect"
Microsoft.Crm.Setup.Server.GrantAspNetServiceAccountAccessAction failed
Our team has used the solution mentioned in Unable to install crm 2013 on server 2012, and the installed is performed by domain administrator account, but still the above problem exists.
We have checked the OU, there are no "Account Unknown" entries in AD.
Finally, We managed to solve the problem. The cause is due to the customer’s AD version. The customer has 4 AD servers.
One of the AD servers is on Window 2008 which we thought fulfill the AD requirement for MSCRM2015. However, the functional levels of the AD is actually window 2003 as it takes the lowest function level version from other AD servers even it has the higher version. The pre-requisite for MSCRM2015 is that AD is window 2008 and above therefore it gives the error.

Unable to Install Webmatrix

Error Occurs
Microsoft Web Platform Installer couldn't find the product you tried to install. Either the link you clicked is incorrect or you may be overriding you feed with a different feed
The link for Microsoft webmatrix does not work. When the web installer tries to download and error occurs:
Microsoft Web Platform Installer couldn't find the product you tried to install. Either the link you clicked is incorrect or you may be overriding you feed with a different feed.
I get this error when I try to install the Microsoft webmatrix [www.microsoft.com/web/webmatrix/‎] on my Window 7 OS.
Can anyone help!
Could you post your log file from %localappdata%\microsoft\web platform installer\logs\webpi - try to find the log file that matches up date/time with when you clicked the link and got the error message - thanks
Chris
Attempted to install PHP 5.2.17 on an IIS7 / 2008 standard 64bit on a VM running on Azure from here:
http://www.microsoft.com/web/platform/phponwindows.aspx
The download link gave me the executable PHP52.exe.
http://www.microsoft.com/web/gallery/install.aspx?appid=PHP52
Clicking on the exe the Web Platform Installer opened and I received the message:
Microsoft Web Platform Installer couldn't find the product you tried to install
as displayed in your screenshot above.
So selected:
http://www.microsoft.com/web/gallery/install.aspx?appid=PHP53
This downloads the exe PHP53.exe (i.e php 5.3.5).
When running this exe the message is no loner displayed and my installation can continue.
Hope that helps someone
Scott

Resources