Navigate to the "App Registrations" page by clicking on the following link: App Registrations.
Once on the "App Registrations" page, click on the "New registration" button to begin the process of creating a new app registration.
After clicking "New registration", fill in the user-friendly name as "GYTPOL Intune" in the appropriate field. Click on the "Register" button to complete the registration process.
Once the registration is complete, save aside the Application (client) ID and Directory (tenant) ID for future reference. You can usually find these IDs on the overview page of the newly created app registration in the Azure Portal.
Go to the "Certificates & secrets" section located in the left pane of the Azure Portal.
Click on the "New client secret" button to generate a new client secret for the GYTPOL Intune app.
After generating the new client secret, save both the secret value and the secret ID in a secure location. You will need these credentials for authenticating the GYTPOL Intune app with Azure services.
Navigate to the "API permissions" section located in the left pane of the Azure Portal.
Click on the "Add a permission" button to begin adding permissions for the GYTPOL Intune app.
Select "Microsoft Graph" from the list of available APIs.
Choose "Application permissions" and add the following permissions:
DeviceManagementManagedDevices.Read.All
Policy.Read.All