diff --git a/src/IntuneCD/update/Intune/WindowsDriverUpdates.py b/src/IntuneCD/update/Intune/WindowsDriverUpdates.py index b15928b..3f59a17 100644 --- a/src/IntuneCD/update/Intune/WindowsDriverUpdates.py +++ b/src/IntuneCD/update/Intune/WindowsDriverUpdates.py @@ -57,6 +57,7 @@ def main(self) -> dict[str, any]: } self.name = repo_data.get("displayName") diff_data = self.create_diff_data(self.name, self.config_type) + create_data = repo_data.copy() self.get_pop_keys( repo_data, [ @@ -75,6 +76,7 @@ def main(self) -> dict[str, any]: method="patch", status_code=200, config_endpoint=self.CONFIG_ENDPOINT, + create_data=create_data, ) except Exception as e: self.log( diff --git a/src/IntuneCD/update/Intune/WindowsFeatureUpdates.py b/src/IntuneCD/update/Intune/WindowsFeatureUpdates.py index 8173eec..89edc72 100644 --- a/src/IntuneCD/update/Intune/WindowsFeatureUpdates.py +++ b/src/IntuneCD/update/Intune/WindowsFeatureUpdates.py @@ -56,6 +56,7 @@ def main(self) -> dict[str, any]: } self.name = repo_data.get("displayName") diff_data = self.create_diff_data(self.name, self.config_type) + create_data = repo_data.copy() self.get_pop_keys( repo_data, [ @@ -73,6 +74,7 @@ def main(self) -> dict[str, any]: method="patch", status_code=200, config_endpoint=self.CONFIG_ENDPOINT, + create_data=create_data, ) except Exception as e: self.log(