
This step-by-step guide explains how to create a Microsoft Cloud Services application to scan Intune, Microsoft 365, and Microsoft Entra ID (Azure AD) targets, or send Helpdesk and email alerts.
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:
Prerequisites
- The scanning service can reach the following URLs:
- 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.
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.