Skip to content

Commit

Permalink
ignore and remove isDefault
Browse files Browse the repository at this point in the history
  • Loading branch information
almenscorner committed Mar 21, 2024
1 parent 1a52e49 commit 273d581
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/IntuneCD/update/Intune/AppleEnrollmentProfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.path = f"{self.path}/Enrollment Profiles/Apple/"
self.config_type = "Apple Enrollment Profile"
self.exclude_paths = ["root['isDefault']"]
self.handle_assignment = False
self.create_config = False

Expand Down Expand Up @@ -79,6 +80,7 @@ def main(self) -> dict[str, any]:
self.downstream_id = None
repo_data = self.load_repo_data(filename)
if repo_data:
repo_data.pop("isDefault", None)
self.match_info = {
"displayName": repo_data.get("displayName"),
}
Expand Down

0 comments on commit 273d581

Please sign in to comment.