Forum Discussion
How to use Intune manager uninstall Windows mail app
Hi... thats easy Just make sure you add the microsoft store for business to Intune... ... open the Microsoft store for business... search for that Mail app... add it... Back in intune add the app but instead of requiring the app select uninstall... job done 🙂 Sune is describing it here also https://blog.mindcore.dk/2021/05/remove-windows-10-built-in-apps-with.html
Thanks, Rudy_Ooms_MVP My organization is disabled. I have sent an email to the relevant team to ask for permission to enable it before taking any further action.
- aollivierre305Apr 15, 2022Brass Contributor
Sk-73 yeah users tend to click on the mail app instead of the Outlook. I would avoid removing native apps though not to break any basic functionality. I would instead prevent the users from using the app via CA policies or Applock. With some user Ed I always get them to use the browser for non work related mail accounts.
Plus MS is retiring MS store for business.
- Sk-73Apr 15, 2022Iron Contributor
Hi,aollivierre305 Thanks for replying this post. The reason why we need to remove is because to preventing user self adding not org email acc on corp laptop.
Do u have a diff way to achieve this?- aollivierre305Apr 17, 2022Brass Contributor
Applocker CSP here PRICESLY that (instead of uninstalling you DENY access)
https://techcommunity.microsoft.com/t5/intune-customer-success/support-tip-using-applocker-to-create-custom-intune-policies-for/ba-p/364981
that article was from 2019 so here is the updated OMA-URI node and XML parts to use instead of the ones mentioned in the article but beside that follow everything in that article. You DO NOT need to start the App Identity service as it will automatically start (even though by default it is stopped and set to manual)
OMA-URI (CASE SENSITIVE) ./Vendor/MSFT/AppLocker/ApplicationLaunchRestrictions/Grouping/StoreApps/Policy
XML part to use a string value
<RuleCollection Type="Appx" EnforcementMode="Enabled">
<FilePublisherRule Id="c3d7f207-377d-4512-bb18-d41c86063d54" Name="microsoft.windowscommunicationsapps, version 16005.14326.0.0 and above, from Microsoft Corporation" Description="" UserOrGroupSid="S-1-1-0" Action="Deny">
<Conditions>
<FilePublisherCondition PublisherName="CN=Microsoft Corporation, O=Microsoft Corporation, L=Redmond, S=Washington, C=US" ProductName="microsoft.windowscommunicationsapps" BinaryName="*">
<BinaryVersionRange LowSection="16005.14326.0.0" HighSection="*" />
</FilePublisherCondition>
</Conditions>
</FilePublisherRule>
</RuleCollection>