Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

List of Mobile Devices from Apple Profile Manager

I have an Apple Profile Manager server with several devices enrolled (iPads, iPhones). The server can be accessed via web interface (e.g.: https://macserver.local/profilemanager).

How can I get the enrolled mobile devices without web crawling? Is there any web-service/ api that could be used? (couldn't find any)

Thanks in advance and have a great week forwards!

like image 251
Arnold Waldraf Avatar asked Jan 19 '26 05:01

Arnold Waldraf


2 Answers

Just to add to this, found this as well. Use this to access the database tested on server 5.6.1 and macOS 10.13

sudo -u _devicemgr psql -h /Library/Server/ProfileManager/Config/var/PostgreSQL devicemgr_v2m0

Source : Access Profile Manager Database

like image 55
Luke Avatar answered Jan 21 '26 09:01

Luke


Thanks Victor. Your given path lead me to the database (PostgreSQL)

To access the ProfileManager database:

sudo -u _devicemgr psql -h /Library/Server/ProfileManager/Config/var/PostgreSQL -d devicemgr_v2m0
like image 41
Arnold Waldraf Avatar answered Jan 21 '26 07:01

Arnold Waldraf



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!