Search code examples
mdmosx-serverapple-profile-manager

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!


Solution

  • 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