Report of all profiles assignment

Solved
DP
Daniel Palmeira
Novozymes A/S

I would like to extract a repot that shows me all profiles and which devices they are assigned (the other way around also works), in a way that doesn't require me to go profile by profile, or device by device.

On the Global Reports I only see the option to run it one profile at a time. Or doing a search by each profile...

Today we have 81 "Assigned" profiles distributed around 269 devices. I know a few are set to only one or two devices, and were created in the past to test some settings or deploy a update but where never cleared.

I need to see what is actually relevant so we can make a clean up.

We have MobiControl v14.4.4.1045

2 years ago
SOTI MobiControl
ANSWERS
ZC
Zafer Cigdem
2 years ago

Hi Daniel,

One of the option would be using Mobicontrol APIs (the list of the API can be accessible from your_Mobicontrol_FQDN/api/; example https://zafercigdem-localhost.com/MobiControl/api/).

You can use belows:

GET /profiles -> to get all profile list

GET /profiles/{referenceId}/assignment --> to see which profile is assigned to which group/devices 

You should call GET "/profiles" API first in order to collect each profile's referenceId, and then by using profile's referenceId information you can access details of this profile (such as to which group/devices this profile is targeting to).

I hope it helps. Thank you

Zafer

Solution
DP
Daniel Palmeira
2 years ago

Thank you Zafer, I will check with our consultants if they can help the API access and see if I can get the data this way.

Seems this is the only way to take out the bulk data, so far.

J
JEMOD@SOTI
2 years ago

Hi Daniel,

Thank you for posting on SOTI Pulse! 

As Zafer mentioned above, our API is an ideal method for creating reports based on multiple device groups & profiles in bulk. Please feel free to reach out if you have any questions or concerns regarding implementing the API.

Kind regards,

Technical Support Specialist | SOTI | +1 905.624.9828 | SOTI.net lDiscussion Forum | Log a Case Online l Facebook l LinkedIn l Twitter 

DP
Daniel Palmeira
2 years ago

Hi Jemod, I maganed to get the server and access with the help of our supplier. But, truth be told, this is my first time working with APIs, in general, and I'm struguling. My idea was to just to connect with Excel/PowerBI to get the data and make some reports...but I seem unable to connect to the API, I believe I'm failing on passing the authorization...are there any gides that can support on that?

ZC
Zafer Cigdem
2 years ago

Hi Daniel,

Do you already have a API Client and API secret with you? If not, here is a good document that you can review to have these: SOTI Discussion Forum

When you have these you can verify the authorization as explained on the blog. I hope it helps.

Zafer

J
JEMOD@SOTI
2 years ago

Hi Daniel,

I have marked the relevant post as a solution. If this post did not assist you in resolving the issue and you have additional questions, please do not hesitate to reach out.
 
Kind regards,
 
Technical Support Specialist | SOTI | +1 905.624.9828 | SOTI.net l Discussion Forum | Log a Case Online l Facebook l LinkedIn l Twitter