-
-
Notifications
You must be signed in to change notification settings - Fork 40
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
[FEATURE] Backup activation lock bypass code (iOS/iPadOS/macOS) #157
Comments
Hi, do you know which Graph endpoint used to get these codes? |
It appears that the Activation Lock Bypass code is present in the "List managedDevices" endpoint - https://learn.microsoft.com/en-us/graph/api/intune-devices-manageddevice-list?view=graph-rest-1.0&tabs=http "activationLockBypassCode": "Activation Lock Bypass Code value", |
This feature is now included in the latest beta, please do a test run and verify that the bypass codes is backed up to a folder named To test, install the latest beta: Run a backup including the argument Note that depending on the size of your env the backup of these codes might take awhile as the codes must be grabbed from each device individually. The requests are batched but still takes some time. |
Hey there, I've attempted to run this with the latest beta and including that argument however this version of IntuneCD seems to cause the bug that some others are encountering - #120 The GA version of IntuneCD doesn't cause this behaviour for us. |
Interesting, and you're not running the beta in a different way like interactive auth vs app auth, including vs not including exclusions etc.? Nothing in this version has changed when it comes to calling the endpoint where the others have the permission issue |
Is your feature request related to a problem? Please describe.
When iOS/iPadOS/macOS devices expire out of Intune due to inactivity the Activation Lock bypass code is lost, if one of these devices is then located and powered back on it is then difficult to remove Activation Lock
Describe the solution you'd like
IntuneCD to backup Activation Lock bypass codes so that they can be recovered and used.
The text was updated successfully, but these errors were encountered: