Blocking Onedrive Notifications in the Action Center in Intune with ADMX

Copper Contributor

Hello everyone,

 

My name is Joost, I am a trainee at A.A.D. Networks in Holland. I have been trying to block the notifications of Onedrive in the action center without success. I would like to know your opinion on the way I tried to do this and maybe with some help, I can make it work. Anyway, this is how I tried to do it.

 

In Intune I made a new device configuration profile:

 

Knipsel.PNG

 
 
 

<?xml version="1.0" encoding="utf-8"?>
<!--Description: This template file will allow you to selectively disable most built-in Windows 10 notifications in the Action Center
Publish Date: 05/05/2017
Windows 10 Versions Supported: 1607, 1702
Created by: Jeffrey Harness
Change Log:
5/5/2017 - Added all notification entries that are supported in builds 1607 and 1702.-->
<policyDefinitions xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" revision="0.9" schemaVersion="1.0" xmlns="http://www.microsoft.com/GroupPolicy/PolicyDefinitions">
<policyNamespaces>
<target prefix="example1_singlepolicysetting" namespace="Microsoft.Policies.Example1_singlepolicysetting" />
<using prefix="windows" namespace="Microsoft.Policies.Windows" />
</policyNamespaces>
<!--<supersededAdm fileName="example1_singlepolicysetting.adm" /> -->
<resources minRequiredRevision="1.0" fallbackCulture="uz-UZ-Cyrl"/>
<supportedOn>
<definitions>
<definition name="SUPPORTED_ProductOnly" displayName="$(string.SUPPORTED_ProductOnly)"/>
</definitions>
</supportedOn>
<categories>
<category name="custom" displayName="$(string.custom)" explainText="$(string.SAMPLEHELP)">
<parentCategory ref="windows:WindowsComponents" />
<seeAlso> policy </seeAlso>
<keywords> Notifications Action Center Disable </keywords>
</category>
</categories>
<policies>
</policy>
<policy name="custom_Disable_One_Drive" class="User" displayName="$(string.custom_Disable_One_Drive)" explainText="$(string.custom_Disable_One_Drive_Help)" key="SOFTWARE\Microsoft\Windows\CurrentVersion\Notifications\Settings\Microsoft.SkyDrive.Desktop" valueName="Enabled">
<parentCategory ref="custom" />
<supportedOn ref="SUPPORTED_ProductOnly" />
<enabledValue>
<decimal value="0" />
</enabledValue>
<disabledValue>
<decimal value="1" />
</disabledValue>
</policy>
</policies>
</policyDefinitions>

 

These are my OMA-URI's :

./Device/Vendor/MSFT/Policy/ConfigOperations/ADMXInstall/Windows/Policy/OnedriveNotifications

./user/Vendor/MSFT/Policy/Config/OneDrive~Policy~custom/custom_Disable_One_Drive

 

When I try to roll this out it doesn't work. I have tried to change the 'custom' part of the ADMX file to another parentcategory without success. A folder named OneDrive is made in the admx installed folder on the client pc, but there is an error with the actual policy.

 

What do you guys think is the best thing to try? Do you have any experience with blocking notifications in the admin center using ADMX files? Let me know. Thanks in Advance!

 

 

1 Reply

A quick sanity check here for you, have you configured the 'top level' ADMX ingestion for OneDrive within the policy? 

 

You need to add an OMA-URI that contains all of the OneDrive ADMX settings:

 

https://osddeployment.dk/2018/10/25/how-to-use-admx-based-onedrive-policy-in-intune-for-known-folder...