cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Nils
Lansweeper Tech Support
Lansweeper Tech Support

TL;DR-Sweepy-Icon (1).png
This page explains how to use Intune V2 scanning targets to scan Android, iOS (iPhone and iPad) and Windows Phone mobile devices enrolled in Intune.


This page is for Lansweeper Sites. For Lansweeper On-prem, see Scan Intune targets.

Lansweeper can be used to scan Android, iOS and Windows Phone mobile devices through Intune. To start scanning mobile devices, you'll first need to configure the appropriate credentials. These Microsoft Cloud Service credentials not only enable the scanning of Intune but also maximize the utilization of Modern Authentication and the Microsoft Graph API through application permissions.

With an Intune V2 scanning target you'll be able to scan Android, iOS (iPhone and iPad) and Windows Phone mobile devices enrolled in Intune.

Prerequisites

To scan mobile devices from Intune with a Microsoft Cloud Services Credential, make sure that:

  • You've already set up your Microsoft Cloud Services application.
  • You're in possession of your Microsoft Cloud Services application's Application (client) ID, Directory (tenant) ID, and Client secret or certificate. These are obtained when creating the application.

Add permissions to the Microsoft Graph application to scan Intune data

  1. Open your company's Azure portal and navigate to App registrations. 
  2. Select the app you've already created and select the API permissions tab in the left-hand menu.
    Scanning-O365-with-a-Microsoft-cloud-credential-16.jpg
  3. On the API permissions page, click Add permission and select Microsoft Graph from the API list.  
    Scanning_M365_with_a_Microsoft_cloud_credential_6.jpg
  4. As we are setting up the Microsoft Graph API to enforce modern authentication, you will need to add Application permissions. Start by selecting Application permissions.
    Scanning_with_a_Microsoft_cloud_credential_6.jpg
  5. Add the DeviceManagementManagedDevices.Read.All API permission and select Save. This permission is required to scan your Intune data.
    how-to-scan-intune-V2-devices5.jpg
  6. Admin consent must still be granted. Select Grant admin consent for <organization> and click Grant in the resulting pop-up.
    how-to-scan-intune-V2-devices6.jpg

    The added permissions should now show Granted for <organization>.
    how-to-scan-intune-V2-devices7.jpg

Set up Lansweeper to scan your Intune data

Add a Microsoft Cloud Service credential

  1. In your Lansweeper Cloud environment, go to Scanning > Credential vault > My credentials.
  2. Select Add new credential.
    Scan intune v2 Cloud 2.png
  3. In the pop-up, select Microsoft Cloud Service and continue.
  4. Fill in the fields:
    1. Name: name for the credential.
    2. Directory (tenant) ID and Application (client) ID: these are obtained when creating the Microsoft Cloud Services application.
    3. Authentication method: select either Client Secret or Certificate Thumbprint.
    4. Client Secret or Certificate Thumbprint: obtained when creating the MS Graph app in Azure.
      Scan intune v2 Cloud 3.png

Add an Intune V2 scanning target

  1. In your Lansweeper Cloud environment, navigate to Scanning > Targets.
  2. Select Add scanning target
    Scan intune v2 Cloud 4.png
  3. In the pop-up, choose a scan server and select the Intune V2 scanning target.
  4. Enter a name and description for the new target, and select a scanning schedule.
  5. Select a Microsoft Cloud Service credential to assign to the Intune V2 scanning target.
    Scan intune v2 Cloud 5.png
  6. Select Save and exit, or Save target Scan intune v2 Cloud 1.png.

Was this post helpful? Select Yes or No below!
Did you have a similar issue and a different solution? Or did you not find the information you needed? Create a post in our Community Forum for your fellow IT Heroes!
More questions? Browse our Quick Tech Solutions.


Was this article helpful? Yes No
No ratings

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now

New to Lansweeper?

Try Lansweeper For Free

Experience Lansweeper with your own data.
Sign up now for a 14-day free trial.

Try Now
Version history
Last update:
3 weeks ago
Updated by: