Company portal failing to install error 0x87D1041C

%3CLINGO-SUB%20id%3D%22lingo-sub-2731312%22%20slang%3D%22en-US%22%3ECompany%20portal%20failing%20to%20install%20error%200x87D1041C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2731312%22%20slang%3D%22en-US%22%3E%3CP%3EHello%20Everyone%2C%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EI%20have%20added%20company%20portal%20(offline%20version)%20from%20Microsoft%20store%20for%20Business%20and%20deployed%20it%20to%206%20autopilot%20enrolled%20windows%2010%20laptops.%20All%20laptops%20are%20with%20same%20hardware%20%26amp%3B%20configurations.%20Out%20of%20all%20laptop%2C%20company%20portal%20application%20is%20getting%20failed%20in%20one%20windows%2010%20laptop.%20I%20have%20tried%20to%20uninstall%20and%20re-install%20it%20but%20it's%20showing%20same%20error%20every%20time%20in%20that%20particular%20laptop.%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EHowever%20apps%20are%20getting%20published%20in%20company%20portal%20in%20that%20laptop.%20then%20why%20in%20Endpoint%20manager%20it's%20showing%20failed%20to%20install%20with%20error%20code%26nbsp%3B%3CSPAN%3E0x87D1041C.%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-2731312%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EConditional%20Access%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EIntune%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMobile%20Application%20Management%20(MAM)%3C%2FLINGO-LABEL%3E%3CLINGO-LABEL%3EMobile%20Device%20Management%20(MDM)%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2731713%22%20slang%3D%22en-US%22%3ERe%3A%20Company%20portal%20failing%20to%20install%20error%200x87D1041C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2731713%22%20slang%3D%22en-US%22%3ESo%20if%20I%20am%20reading%20this%20correctly%20you%20create%20an%20app%20to%20publish%20the%20company%20portal%20app%20to%20some%20devices%20and%20on%20one%20device%20its%20failing.%20Can%20you%20show%20me%2Fus%20how%20you%20deployed%20it%3F%20as%20the%20error%20code%20you%20have%20is%20saying%20the%20company%20app%20isnt%20detected%20AFTER%20installation.%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2731846%22%20slang%3D%22en-US%22%3ERe%3A%20Company%20portal%20failing%20to%20install%20error%200x87D1041C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2731846%22%20slang%3D%22en-US%22%3ENo%2C%20it's%20regarding%20Company%20portal%20app%20itself.%20I%20have%20added%20Company%20portal%20app%20(offline%20version)%20from%20Microsoft%20store%20for%20business%20and%20deployed%20it%20to%20few%20autopilot%20devices.%20and%20in%20one%20device%20it's%20showing%20company%20portal%20app%20failed%20to%20install%20with%20error%20code%200x87D1041C%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2731937%22%20slang%3D%22en-US%22%3ERe%3A%20Company%20portal%20failing%20to%20install%20error%200x87D1041C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2731937%22%20slang%3D%22en-US%22%3ECould%20you%20share%20a%20screenshot%20how%20you%20published%20the%20company%20portal%20app%3F%3C%2FLINGO-BODY%3E%3CLINGO-SUB%20id%3D%22lingo-sub-2732494%22%20slang%3D%22en-US%22%3ERe%3A%20Company%20portal%20failing%20to%20install%20error%200x87D1041C%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2732494%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F620702%22%20target%3D%22_blank%22%3E%40Rudy_Ooms%3C%2FA%3E%26nbsp%3B%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20image-alt%3D%22company%20portal%20error.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F308951iE2B7CB6EC37FE89B%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22company%20portal%20error.png%22%20alt%3D%22company%20portal%20error.png%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
Occasional Contributor

Hello Everyone,

 

I have added company portal (offline version) from Microsoft store for Business and deployed it to 6 autopilot enrolled windows 10 laptops. All laptops are with same hardware & configurations. Out of all laptop, company portal application is getting failed in one windows 10 laptop. I have tried to uninstall and re-install it but it's showing same error every time in that particular laptop. 

 

However apps are getting published in company portal in that laptop. then why in Endpoint manager it's showing failed to install with error code 0x87D1041C.

16 Replies
So if I am reading this correctly you create an app to publish the company portal app to some devices and on one device its failing. Can you show me/us how you deployed it? as the error code you have is saying the company app isnt detected AFTER installation.
No, it's regarding Company portal app itself. I have added Company portal app (offline version) from Microsoft store for business and deployed it to few autopilot devices. and in one device it's showing company portal app failed to install with error code 0x87D1041C
Could you share a screenshot how you published the company portal app?
I have attached the screenshot below. Also I have attached the error screenshot in my main post

@Soutumi - did you find a solution to your issue?

Nope, I have raised this issue to MS support and they have collected logs last week. Now waiting for their response.
Same thing started to happen to me out of nowhere. My Company Portal App was configured as yours and functional until last week.

Now during pre-provision (white glove) I'm having the same issue and I can't figure it out what is happening.

If you receive a answer back from MS support let us know please.
Did you configured the app as an required app in the esp in the device phase? Yesterday we noticed the same thing... after removing the app as an required app in the esp .... the white glove worked. Normally we don't require the company portal app, but somehow it ended up in the esp as an required app in one of the tenants we administer
Yeap, my ESP is actually is set to "All" instead of selecting the required apps. It make me think that if I don't want block usage I should uncheck "All" and select no app at all?

Sometimes this Intune grind my gears.

Yet, you mentioned that the White Glove worked, but you succeeded installing Company Portal after all? I would like to enforce Company Portal to all my devices
Normally we are only requiring office/onedrive and some simple scripts converted to apps during the esp (it doesnt mean no other apps are going to be installed but…)And we are skipping the userstatuspage… so when the user logs in, within a few minutes the company app (which is device targetted and set as required) is installed within a minute or 2..
Gotcha... thanks for sharing the experience!
In the ESP page i have deployed office apps only and when user logs in, company portal will be deployed in a minute as I have deployed it as required app.
Also regarding the company portal app offline version failure, Microsoft said uninstall and reinstall it in user's laptop and while deploying choose license type as device. however I have deployed Online version of company portal and we didn't get any failure yet.

Thanks @Soutumi 

 

Odd thing is this was all working fine with Company Portal in offline mode (using a device license), it just randomly broke on a few tenants with an error that seemed to indicate a problem with the application.

 

Also noticed the app had a GUID for an app version, made me wonder if this was something to do with the new Microsoft store?

 

Never had an issue with the online version and was using it as a work around for a customer. I am working on a new tenant build so will see how this one goes.

@Soutumi 

 

We are also using the online version (required), so it installs when the user logs in.

 

As the online version can't install in device context

 

Rudy_Ooms_0-1632374075987.png

 

How Application Context, Assignment and Exclusions Work in Intune - Microsoft Tech Community

 

Well, Company Portal got back to work after all.

This error is very misleading. My problem was related to an unsuccessful deregistration of the device. Once I manually performed deregistration (removing device rash from Autopilot and re-importing it after deleting its traces in AAD) and re-made white glove, Company Portal was installed as usual.

Not sure why installation of Company Portal was stuck during ESP, but logs pointed to a different direction.