Skip to content
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

Fixed reuse of last encrypted value for non-encrypted fields. #63

Closed
wants to merge 1 commit into from

Conversation

kim-ln
Copy link

@kim-ln kim-ln commented Jun 30, 2022

Probably fixes #53

For non-encrypted fields (i.e. non-string), the field's value was never used. Instead, the (decrypted) value of the last encrypted field (i.e. string field) was used. Unsure what used to happen if the first field was non-encrypted, as I lack PowerShell experience and did not have time to test. Anyway, it works properly now.

@kim-ln
Copy link
Author

kim-ln commented Jul 19, 2022

@jseerden Hi John. I just saw that an older similar PR existed: #51 Forgive my impertinence, but I think my change is a lot simpler and to the point.

mhu4711 pushed a commit to mhu4711/IntuneBackupAndRestore that referenced this pull request Jun 17, 2024
jseerden pushed a commit that referenced this pull request Jan 7, 2025
…SDK (MgGraph) (#77)

* Add restore functionality for Device Health (Proactive remediation) scripts

* Fix copy/paste error in Start-IntuneRestoreAssignments.ps1

* Initial draft of backup/restore scripts for Autopilot Deployment Profiles. Both backup and restore works for Profiles. The associated assignments can only be backed up atm, not restored, due to an issue with the associated Graph API endpoint.

* Converted from MSGraph Module to MGGraph Module

* Fixed incorrect function being uploaded

* Added to replace get-msgraphallpages

* Update README.md

* Update README.md

* Update README.md

* Removed some changes I made in testing

* Include changes from PR #63 (#63)

* Include changes from PR #65 (#65)

* Fixup errors, add check for empty responses, restructure file/directory creation

* More bug fixing

* Replace remaining MsGraph statements

* Reference beta module in README

* Fix assignment restore for Settings Catalog items

---------

Co-authored-by: Martin Huber (CT) <[email protected]>
Co-authored-by: Ryan Moloney <[email protected]>
Co-authored-by: AusXTech <[email protected]>
@jseerden jseerden closed this Jan 7, 2025
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

Successfully merging this pull request may close these issues.

integer values are not being returned correctly
2 participants