Microsoft Cloud Services scanning is a feature introduced in Lansweeper 8.3. You must update your installation if you are running a lower Lansweeper version.
You can configure a Microsoft Cloud Services application with the Azure portal. The application uses Microsoft Graph API to perform scanning.
How does Lansweeper use Microsoft Cloud Services applications?
Microsoft Cloud Services applications can be used to accomplish a variety of tasks.
Lansweeper:
Lansweeper Classic:
- Scan Intune targets
- Scan Microsoft 365 targets
- Scan Microsoft Entra ID (Azure Active Directory) users and groups
- Send Helpdesk and email alerts with a Microsoft Cloud Services application
Prerequisites
- The scanning service can reach the following URLs:
- For retrieving data: https://graph.microsoft.com and https://graph.microsoft.net
- For generating an authentication token: https://login.microsoftonline.com
- TLS 1.2 or higher is enabled on the device hosting the Lansweeper scanning service
Register an application
-
Log in to your company's Azure Portal.
-
Navigate to the App Registrations service.
-
Select New registration.
-
Name your application, select a supported account type, then select Register.
-
In the Overview tab, copy the Application (client) ID and the Directory (tenant) ID and save them for later.
Add a client secret
You must add a client secret if you want to send Helpdesk and email alerts with a Microsoft Cloud Services application.
- Navigate to your app in the portal, then go to Certificates & Secrets > Client Secrets > New client secret.
- Give the client secret a Description and choose when it should Expire. Select Add.
- Copy the client secret Value and save it in a secure location.
Do not leave this page before copying the Value. It cannot be retrieved afterward.
Add a certificate
If your application is used for scanning, we recommend adding a certificate.
Generate or purchase a certificate and add it to the root certificate store of your Lansweeper scanning server that will be used to scan this target before completing the steps below.
- Navigate to your app in the portal, then go to Certificates & Secrets > Certificate > Upload certificate.
- Upload a certificate. This should be the same certificate you installed on your scanning server.
- Enter a description. Select Add.
- Copy the certificate Thumbprint and save it in a secure location.
To use the application, see the list of possible tasks you can complete in How does Lansweeper use Microsoft Cloud Services applications? and follow the instructions in the related article.