Skip to content

Import and Export Enrollment Notifications #328

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
David-SpreenICT opened this issue Apr 9, 2025 · 1 comment
Open

Import and Export Enrollment Notifications #328

David-SpreenICT opened this issue Apr 9, 2025 · 1 comment

Comments

@David-SpreenICT
Copy link

David-SpreenICT commented Apr 9, 2025

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 :)

@Micke-K
Copy link
Owner

Micke-K commented Apr 13, 2025

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants