Android Management API: List of Enterprises/Policies?

后端 未结 1 896
醉酒成梦
醉酒成梦 2021-01-23 03:19

This is driving me nuts. I\'ve successfully followed the Android Management API Quickstart to create a project/enterprise/policy and install it on a device.

I stupidly d

相关标签:
1条回答
  • 2021-01-23 03:54

    You can find the enterprise you created by logging into play.google.com/work with the account that was used to create it.

    Click on Admin Settings to see the Organization name and Organization ID

    And to find the policies of all the devices you have enrolled to this enterprise, you can simply call the API - enterprises.devices.list entering the parent in the form enterprises/{enterpriseId} [ enterpriseId here is the OrganizationID that you get from the above steps ]

    This would list all the devices attached to the enterprise and in the response you can find policyName of each device.

    0 讨论(0)
提交回复
热议问题