![]() ![]() Fill the two variables with the client ID and client Secret you generated from the previous step or with preexisting ones. The next step is to fill the two variables clientID and clientSecret in the beginning of the script. If you are unfamiliar with the process, I would advise referring to our KB article on generating API client IDs and client Secrets. ![]() You can create a new API key by going to Account > Integrations then clicking on the Add API button in the top right. The first is to own or create a API Key in the Addigy organization you want to get the device counts for. The script has two major requirements before being ready to run. In this case, you can download the script attached to the bottom of this article, and open it up on your favorite text editor. This is the preferred method as the script will require sensitive information (API Keys). This article will go over how to set up the script locally. The script will print out the policy structure of the whole organization with the amount of devices per policy and the total amount of devices for the whole organization. This can end up being tedious with child policies, but what if there was a way to automate this? In this article I will share a custom python script that will help automate this process. This would mean going through each policy and keeping a running total of all devices per customer. Sometimes it's necessary for MSP IT admins to get a head count of devices/agents of each customer policy.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |