IntuneManagement icon indicating copy to clipboard operation
IntuneManagement copied to clipboard

Import and Export Enrollment Notifications

Open David-SpreenICT opened this issue 1 year ago • 1 comments

Hello All,

This is my first time creating an issue on Github, so excuse me if i did anything wrong.

I attempted to Export and import all my Intune notifications:

  • EnrollmentNotifications
  • NonCompatibleNotifications

The Compatible notifications work just fine, but....

  1. I have a Enrollment notification for all platforms: Windows, Android, iOS,macOS When exporting all of these I only get one JSON file. This is most probably because the "display" name of the file is the same for each notification Image Image

This is all backuped up due to the fact the Tool doesn't give any errors: Image

A work arround would be to export the notifications one-by-one and renaming the file (not the code). The JSON's content is still accessable and i can see stuff isn't overwriten.

2, When attempting to import the previously created exports either doing by an untouched export file, or by an touched export file (changing the visible name) it shows in the Tool as "available" but the Intune platform doesn't show the file.

Image

shows as available in the tool: Image

But it's not visible in the Intune portal:

Image Image or any other platform....

I hope i've geven you enough information like this, please let me know if you need anymore information :)

David-SpreenICT avatar Apr 09 '25 14:04 David-SpreenICT

Hello,

Thank you for reaching out!

  1. You can fix this by enabling 'Add ID to export file' in Settings. This will add the ID to the name aa make the export file unique. Image
  2. I tested this. First, Notifications API in the menu is for Compliance Notifications and not Enrollment Notifications. Looks like EnrollmentNotificationInternalMEO are internal notification and will not show up. I could not see them. These should not be included in the export, so I need to exclude them. I could create a custom Notifications and then do export/import. Enrollment Notifications are a part of the deviceEnrollmentConfigurations (Enrollment Restrictions, Enrollment Status Page etc.). Looks like I don't have support for these yet. I'll see if I can get time to add it.

Cheers!

Micke-K avatar Apr 13 '25 11:04 Micke-K