Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to authenticate DEVICE using "Microsoft Intune MDM Device CA" certificate? #258

Open
forderud opened this issue Oct 9, 2023 · 0 comments

Comments

@forderud
Copy link

forderud commented Oct 9, 2023

Hi. I'm evaluating feasibility of using the Microsoft Graph APIs to develop an alternative to the "Company Portal" app with custom UI. One sub-problem to then tackle is device authentication.

InTune appear to be automatically create a Microsoft Intune MDM Device CA certificate for client authentication when enrolling:
image

I'm assuming that "InTune Management Extension" and "Company Portal" already uses this InTune certificate to authenticate the device, so that they can afterwards query for available SW packages specific for just that particular machine. I am seeking advise on how to implement the same functionality myself.

It's possible to semi-solve the problem by creating an Azure app as described on How to use Azure AD to access the Intune APIs in Microsoft Graph. Then, one can upload the public key for the InTune certificate for all relevant machines to the Azure app. However, that approach suffer from several shortcomings:

  • It's cumbersome to upload the InTune certificate to the Azure app. This is especially the case if managing a fleet of >1000 machines with different SW entitlements. The InTune certificate if furthermore refreshed every year, which triggers the need for new uploads.
  • Certificate authentication through an Azure app appears to authenticate the app, and not the device. I suspect that it's therefore difficult to limit API access to just the SW packages available to the authenticated device.

Any advise on how to authenticate the DEVICE using the InTune certificate, without having to upload the public key to an Azure app?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant