3. Move the profile to the correct directory in my source control repo.
4. Review changes and commit to the repo.

However, as I’ve started using profiles more, this process got cumbersome and I wanted to automate at least the download part of the process. After some work, I was able to build two scripts which do the following:

Use the Jamf Pro API to identify the Jamf Pro ID numbers of the configuration profiles.

Download each profile using its Jamf Pro ID number

Decode and format the profile

Identify the display name of the profile

Save the profile as Display Name Here.mobileconfig to a specified download directory.