Skip to content

Commit

Permalink
Merge pull request #202 from almenscorner/dev
Browse files Browse the repository at this point in the history
v2.3.3
  • Loading branch information
almenscorner authored Jun 3, 2024
2 parents 6590481 + 70d187c commit a6935a8
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = IntuneCD
version = 2.3.2
version = 2.3.3
author = Tobias Almén
author_email = [email protected]
description = Tool to backup and update configurations in Intune
Expand Down
2 changes: 1 addition & 1 deletion src/IntuneCD/intunecdlib/BaseGraphModule.py
Original file line number Diff line number Diff line change
Expand Up @@ -852,7 +852,7 @@ def update_assignment(
val["target"]["groupId"] = request["id"]

# Request filter id based on filter name
if val["target"]["deviceAndAppManagementAssignmentFilterId"]:
if "deviceAndAppManagementAssignmentFilterId" in val["target"]:
filters = self.make_graph_request(
endpoint="https://graph.microsoft.com/beta/deviceManagement/assignmentFilters",
)
Expand Down
2 changes: 1 addition & 1 deletion src/IntuneCD/intunecdlib/assignment_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ def _process_file(self, path, name, payload_type, groups):
if not payload_added:
group_data["assignedTo"][payload_type] = [payload_data]
groups.append(group_data)
break
# break

def _collect_groups(self, path):
exclude = set(["__archive__", "Entra"])
Expand Down
2 changes: 1 addition & 1 deletion src/IntuneCD/update/Intune/DeviceConfigurations.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
self.path = f"{self.path}/Device Configurations/"
self.assignment_endpoint = "/deviceManagement/deviceConfigurations/"
self.assignment_extra_url = "/assignments"
self.assignment_extra_url = "/assign"
self.exclude_paths = [
"root['assignments']",
"root['payload']",
Expand Down

0 comments on commit a6935a8

Please sign in to comment.