The Meraki Community
Register or Sign in
cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • About JimK
JimK

JimK

Comes here often

Member since Jan 7, 2021

a week ago

Community Record

5
Posts
0
Kudos
0
Solutions

Badges

First 5 Posts View All
Latest Contributions by JimK
  • Topics JimK has Participated In
  • Latest Contributions by JimK

Re: Get list of all mobile Phones and their Numbers across all networks

by JimK in Mobile Device Management
‎04-11-2023 01:13 PM
‎04-11-2023 01:13 PM
Thanks for the help guys, I did see the API but wasn't very familiar with how to use it. Sorry for the delay in getting back I got pulled in other directions.    I was able to set up everything PaulF posted and then eventually I was able to figure out how to get the orgid however I am stuck as I am getting the message   "No devices in this SM network"   but we have    * 414 devices (mostly iOS iPhones and also a few iPads, iPods and a few Android phones) * across 82 networks * No other devices besides iOS/Android   So I must be doing something wrong but don't know what.   Here is the output from the code I used to get the orgID     2023-04-11 15:10:36 meraki: INFO > Meraki dashboard API session initialized with these parameters: { 'version': '1.32.1', 'api_key': '**last 4 of my api key was in here**', 'base_url': 'https://api.meraki.com/api/v1', 'single_request_timeout': 60', 'certificate_path': '', 'requests_proxy': '', 'wait_on_rate_limit': True, 'nginx_429_retry_wait_time': 60, 'action_batch_retry_wait_time': 60, 'retry_4xx_error': False', 'retry_4xx_error_wait_time': 60', 'maximum_retries': 2', 'simulate': False', 'be_geo_id': None', 'caller': None', 'use_iterator_for_get_pages': False} 2023-04-11 15:10:36 meraki: INFO > GET https://api.meraki.com/api/v1/organizations 2023-04-11 15:10:37 meraki: INFO > organizations, getOrganizations - 200 OK [{ 'id': 'a 6 digit number was in here', 'name': 'Our company name was in here', 'url': 'https://n22.meraki.com/o/{{6 digits numbers/letters not sure if it safe to post}}/manage/organization/overview', 'api': {'enabled': True}', 'licensing': {'model': 'co-term'}', 'cloud': {'region': {'name': 'North America'}}', 'management': {'details': []} }]     Here is the code I used to get the orgID     API_KEY = '**Used my api key**' dashboard = meraki.DashboardAPI(API_KEY) response = dashboard.organizations.getOrganizations()     Which I got from here: Getting-started-with-Meraki-API-using-Python-Part-2-Python-Setup    Here is the output from the yourscriptname.py from the above post:   2023-04-11 15:11:56 meraki: INFO > Meraki dashboard API session initialized with these parameters: {'version': '1.32.1', 'api_key': '**last 4 of my api key was in here**', 'base_url': 'https://api.meraki.com/api/v1', 'single_request_timeout': 60', 'certificate_path': '', 'requests_proxy': '', 'wait_on_rate_limit': True', 'nginx_429_retry_wait_time': 60', 'action_batch_retry_wait_time': 60', 'retry_4xx_error': False', 'retry_4xx_error_wait_time': 60', 'maximum_retries': 2', 'simulate': False', 'be_geo_id': None', 'caller': None', 'use_iterator_for_get_pages': False} 2023-04-11 15:11:56 meraki: INFO > GET https://api.meraki.com/api/v1/organizations/{{The 6 digit 'id' number from the first script was here}}/networks 2023-04-11 15:11:56 meraki: INFO > organizations, getOrganizationNetworks; page 1 - 200 OK networkID, model, osName, systemModel 2023-04-11 15:11:56 meraki: INFO > GET https://api.meraki.com/api/v1/networks/L_{{18 numbers}}/sm/devices 2023-04-11 15:11:57 meraki: INFO > sm, getNetworkSmDevices; page 1 - 200 OK No devices in this SM network 2023-04-11 15:11:57 meraki: INFO > GET https://api.meraki.com/api/v1/networks/L_{{18 numbers}}/sm/devices 2023-04-11 15:11:59 meraki: INFO > sm, getNetworkSmDevices; page 1 - 200 OK Traceback (most recent call last): File "D:\Dev\Misc\Meraki API\iOS\iOS.py", line 71, in <module> main(sys.argv[1:]) File "D:\Dev\Misc\Meraki API\iOS\iOS.py", line 55, in main print(networkID, ",", device["name"], ",", device["osName"], ",", device["phoneNumber"]) KeyError: 'phoneNumber'   Any ideas as to what I can do to fix whatever I am doing wrong?     ... View more

Get list of all mobile Phones and their Numbers across all networks

by JimK in Mobile Device Management
‎04-03-2023 11:59 AM
‎04-03-2023 11:59 AM
Hi, we have a bunch of "Networks" consisting of iOS devices and a few Android phones, is there a way to list all the phones (iPhones & Android Phones) and the associated Phone numbers, SN, IMEI numbers? I can get a list per Network but I would like to get one big one from all the networks.   And/Or is there a way to search by phone number across all networks. I can search per network but can't seem to do it across them all.   We are trying to locate a few phones we only have phone numbers for and going into each customers network to see if it is in there is very time consuming. ... View more
Labels:
  • Labels:
  • Android
  • iOS

Re: Camera issue 20 in Android application on a Meraki controlled device

by JimK in Mobile Device Management
‎07-21-2021 09:30 PM
‎07-21-2021 09:30 PM
Is the native camera different from the one I already gave permission to? As far as I can tell there is only 1 camera   android.permission.CAMERA: granted=true, flags=[ POLICY_FIXED ]   If not how do I find it and enable it? Settings and adb both have the only camera permissions I can find listed as allowed. ... View more

Camera issue 20 in Android application on a Meraki controlled device

by JimK in Mobile Device Management
‎07-21-2021 12:36 PM
‎07-21-2021 12:36 PM
Hi, We are having a problem with an app our developer wrote not working when it is under Meraki MDM. It works fine on a device without Meraki but on a Meraki device when we go to take a picture it gives us an error of   "Information: Camera Issue 20 [Close]"   The app has several buttons to turn the camera on, the first 2 bring up the camera preview with a line for scanning barcodes. The 3rd button just brings the camera preview itself up, no barcodes.   The camera is not blocked in Meraki Android Restrictions.   The first 2 buttons that capture a barcode work fine. For that to work it popped up a permission message about allowing it when we used it the first Time, we allowed that permission. It works fine, but lower 3rd button to take a regular picture gives the error and never gives a permission pop up.   The 3rd camera button is using the same camera as the other 2 buttons are using so I would assume the permission for the other buttons would also allow the 3rd one.   In the "Setting | Apps & notifications | {Application} | Permissions" it shows Camera and Storage.   Also confirmed via ADB that the camera has permissions:   adb shell dumpsys package com.co.PackageName   runtime permissions: android.permission.READ_EXTERNAL_STORAGE: granted=true, flags=[ POLICY_FIXED ] android.permission.CAMERA: granted=true, flags=[ POLICY_FIXED ]   The app is written in Cordova. I am currently installing it via   adb install appname   but when we first started receiving the error I was installing through "System Manager | Apps | Custom | Upload App"   I did see this post: https://community.meraki.com/t5/Mobile-Device-Management/Android-the-Work-Profile-for-MDM-and-the-camera/td-p/17815   But   * that post is about Work Profiles, we don't use that, we take the phone over completely via Meraki Managed Android Enterprise.   * The post also mentions a blacklist with nothing in it to get the cam working. I already did that to get the top barcode camera buttons working (but I had to actually BL something (used: com.google.android.talk) to get it working.   How can we get Meraki to allow the camera? Is there a Meraki setting we can change? Is the something code wise we can try? The dev has tried several things already but we keep getting the error.    Device is a Chainway C66 with Android 9 https://www.chainway.net/Products/Info/58 ... View more
Labels:
  • Labels:
  • Android

Questions about renewing Apple certs and tokens for MDM

by JimK in Mobile Device Management
‎01-07-2021 02:21 PM
‎01-07-2021 02:21 PM
Hello, We have several iOS devices in the field at customer sites. We are coming up to where we need to update the Apple Push cert and the Apple DEP token soon. We are not completely sure of what can and cannot be changed without messing this up as far as already installed devices are concerned. I am wanting to have this go as smoothly as possible as we have 80+ device at spread out over 30-40 customers many with several separate sites.   1) Does the DEP token need to be created by the same person who created it originally or can it be done by anyone who has the access/authority on business.apple.com without needing to reinstall the profiles?   The Push cert says you need the same person or else you would need to reinstall the the Meraki Management profile each device. While we remember the account the Push cert was made under we don't remember the one the DEP token was made with.   I am assuming that it can be done by anyone who has the access/authority on business.apple.com since the config page and the documents "Renewing a DEP Token" don't say otherwise but I am hoping someone can tell me for sure that is the case.   2) I am assuming that when we update either of those that the devices just figure it out the next time they connect to the network. What happens if a device is offline at the time the cert or token is changed? Will it Just see everything as ok next time it connects or does it know on the device that the old one expired even if it isn't connected to a network? Our customers sometimes turn off or keep the devices in areas with no WiFi/cell access for periods while employees go on vacation or other absences.   3) Not directly related to the above two but it is in the token part of the config screen: Are we able to change the default network (Organization > MDM > Apple DEP Servers > Server > Edit > Default Network) at anytime or would we need to reinstall all the profiles? When we originally set up we use the customer we were installing to first as the default network, now that we have one for the company I work for we would like to change it to that one so newly purchased devices go right into that network to make it easer to set up. I didn't see any of the things I asked about in the online documentation but there is a chance I missed it. Any help or guidance is appreciated. Thanks! ... View more
Labels:
  • Labels:
  • DEP
  • iOS
Powered by Khoros
custom.footer.
  • Community Guidelines
  • Cisco Privacy
  • Khoros Privacy
  • Privacy Settings
  • Terms of Use
© 2023 Meraki