How to connect MobiControl with Azure AD

MI
Marius Iversen
Nordic Mobility

Since there is absolutely no documentation on this I thought I’d share this with everyone.

  • Log into Azure AD and create a group and add a user
  • Enterprise Applications – New Application
  • Search for and add MobiControl
  • Go to the MobiControl application – Users and Groups
  • Add the group you just created
  • Go back to the Azure portal – App registrations
  • Select MobiControl – if you can’t find it, check under «All applications»
  • Certificate & Secrets
  • New client secret
    1. Copy «Value» - this is the client secret and will only be shown once
  • API permissions – add the following – note the difference between Application and Delegated
    1. ReadWrite.All > Application
      Directory.ReadWrite.All > Application
      Directory.Read.All > Application
      Group.Read.All > Delegated
      User.Read.All > Delegated
      Directory.ReadWrite.All > Delegated
  • Click on «Grant admin consent for…»
  • Go to MobiControl – Global Settings – Services – Directory
  • Select + on Azure Directories
    1. Name – can be anything
    2. Microsoft Graph API Address – https://graph.microsoft.com
  • Select + on Azure Tenant ID
    1. Name – can be anything
    2. Azure Tenant Name – this is the primary domain you see in the Azure AD Overview
    3. Azure Tenant ID – Tenant ID in the Azure AD Overview
    4. Metadata Endpoint Address – you’ll find this under App Registrations – Endpoints – Federation metadata document
  • Select + on Application Name
    1. Application name – can be anything
    2. Client ID – you’ll find this under Enterprise Applications – MobiControl – Application ID
    3. Client secret – the value you copied on step 9 a
  • Save

To test, do the following:

  • In MobiControl – Users and Permissions - Groups - +
  • Search for the group you added earlier – if you find it, it works
  • Search for additional groups in Azure to verify connection

Troubleshooting:

To troubleshoot, check MS log and search for the Client ID. There will most likely be an understandable error message.

3 years ago
SOTI MobiControl
ANSWERS
AW
Adam Williams
3 years ago

HI Marius,

One thing to add to your informative post.

Mobicontrol should be on  v15.5.0 or higher, as Microsoft will be depreciating Azure Active Directory Graph API by the end of 2022, replacing with Graph API. The MS were meant to depreciate by June 30th 2022, but have since pushed this back until the end of the year. 

https://discussions.soti.net/articles/azure-active-directory-graph-api-deprecation-and-impact-to-mobicontrol-customers

MI
Marius Iversen
3 years ago

Thanks Adam - you are absolutely right.

D
DJMOD@SOTI
3 years ago

Hi Marius,

Thanks for the detailed explanation on connecting MobiControl to azure AD.

We have a help document on the process, you can check it by clicking it here.

we have updated the documentation team to add more in detail information on the connection. Also shared your post.

NY
NIK YSAMBART
3 years ago

Thank you for this info, it's very helpful. However, there is one questions:

API permissions – add the following – note the difference between Application and Delegated

  1. ReadWrite.All > Application

What is this particular permission? The others are easy to identify, but the first one doesn't appear to have a specific permission that "ReadWrite.All" should be on.

Thanks!