
DaveT.80605 (Customer) asked a question.
Hey Folks,
Wondering if its possible to pull a full list of users who have a Windows device registered and managed in OKTA Verify. I know its possible to use device registration as an event trigger so we can certainly handle future users but hoping to get something working for historic users as well.
Thanks!

I found this post that gives a clue. https://support.okta.com/help/s/article/Howto-Get-a-List-of-All-Managed-and-NotManaged-Devices-in-Okta?language=en_US
Perhaps you could call "List all Devices" API and loop the resulting records looking for "profile.platform = windows" and then pass the "id" to "List all Users for a Device" API call and see if "managementStatus = Managed"
"List all Devices"
https://developer.okta.com/docs/api/openapi/okta-management/management/tag/Device/#tag/Device/operation/listDevices
"List all Users for a Device"
https://developer.okta.com/docs/api/openapi/okta-management/management/tag/Device/#tag/Device/operation/listDeviceUsers
Device details doc: https://help.okta.com/oie/en-us/content/topics/identity-engine/devices/devices-view-details.htm