Skip to main content

Intune: Generate Credentials

In this Appendix we will see how to generate client credentials and provide necessary permissions.

  1. Login to https://portal.azure.com with email address and password (else register for a new account).

  2. Click on Azure Active Directory from a column on the left side as below.

    Intune1
  3. Search for properties.

    Intune2
  4. The Tenant ID required in the plugin is the ID mentioned under Directory ID. In case the ID is not available you may get Tenant ID as mentioned in step 8 below.

    Intune3
  5. To get the Client ID, click on App registrations under Azure Active Directory.

  6. Create a new App by clicking on New Registration.

    Intune4
  7. Enter the application name select account types and click on Register.

    Intune5
  8. After clicking on Register, under Overview of the newly generated Application you can find the Application (client) ID/ Client ID. Also, you can find Directory (tenant) ID/Tenant ID below Client ID.

    Intune6
  9. To generate client secret, click on the Certificates & Secrets and then click on + New Client Secret.

    Intune7
  10. Now enter the Description, Expiry, and click on Add.

    Intune8
  11. Copy the value of the client secret as it will be not visible the second time.

    Intune9
  12. Click on API Permission and then click on Add Permission.

    Intune10
  13. Click on Microsoft Graph, and then click on Application permissions.

    Intune11
  14. Select Application permission.

    Intune12
  15. Search and select the required permission. Click on Add Permission.

    Intune13
  16. This will redirect back to API Permission. In the Grant Consent section, click "Grant admin consent for….".

    Intune14
  17. It will prompt for confirmation, click on Yes.

    Intune15
  18. Similarly, we can assign the permissions required by Intune Plugins mentioned below:

    • DeviceManagementManagedDevices.PrivilegedOperations.All
    • DeviceManagementManagedDevices.ReadWrite.All