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

scroll devices in Intune to support counts over 1000 #6135

Merged
merged 2 commits into from
Jun 29, 2021

Conversation

julsemaan
Copy link
Collaborator

Description

Scroll devices in Intune to support counts over 1000 since Intune now requires that

Impacts

Intune integration

Delete branch after merge

YES

NEWS file entries

Enhancements

  • Adjust Intune integration to support pagination of the managed devices

@julsemaan
Copy link
Collaborator Author

marking as not-ready since I'm just waiting on final confirmation of the fix

while($info && $info != $pf::provisioner::COMMUNICATION_FAILED && $info->{'@odata.nextLink'}) {
$info = $self->perform_get_device_info($mac, $info->{'@odata.nextLink'});
if($info == $pf::provisioner::COMMUNICATION_FAILED) {
return $pf::provisioner::COMMUNICATION_FAILED;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the previous messages succeeded shouldn't you just stop and return what was received prior instead of throw away all the previous messages?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes we do throw it away so that it can be retried from scratch. Otherwise you could have an incomplete list if we would return what we already have

@fdurand fdurand merged commit a97eed6 into devel Jun 29, 2021
fdurand added a commit that referenced this pull request Jun 29, 2021
@satkunas satkunas deleted the fix/intune-scroll-devices branch May 15, 2024 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants