Microsoft Intune Node
A simple authentication node for ForgeRock's Identity Platform 6.5.0 and above. This node integrates with Microsoft Intune and Graph API. It allows to evaluate device's compliance posture and return the result. It also allows saving device information (to sharedState object) which can be used by subsequent nodes.
Copy the .jar file from the ../target directory into the ../web-container/webapps/openam/WEB-INF/lib directory where AM is deployed. Restart the web container to pick up the new node. The node will then appear in the authentication trees components palette.
Configuration properties of the node
Header containing Device ID
We assume that TLS termination takes place before hitting AM. Termination gateway needs to take CN from device certificate presented and put into a header.
Azure Tenant ID
Tenant ID could be in a form of UUID-like string or actual tenant name eg. rocknnroll.onmicrosoft.com.
Azure App Registration Application ID
That is the name of the OAuth2 Client (application) that has been created, given privileges (scopes) to access API data.
Azure App Registration Secret
Has to be created as part of application creation process. Keys -> Passwords section of app configuration.
Azure AD User Name
Intune administrative user name who consented to giving right to the app above.
Azure AD User Password
Above user's password.
Extract Device Properties
When accessing GraphApi we’re also extracting some of the most important device characteristics i.e. deviceName, deviceType, operatingSystem, osVersion,deviceRegistrationState, model, manufacturer, serialNumber. If this option is enabled all of these characteristics will be put into shared state. That information is:
Extract information about installed apps?
If enabled apps installed on Mobile Device are extracted. Apps names can then be used below in Black List configuration. In addition 'blackListedAppPresent' property will be saved into Shared State.
If any of the blacklisted apps here will be found on connecting device then 'blackListedAppPresent' will be set to 'yes'. It will be set to 'no' otherwise.
Here's a sample tree with Intune node.
The code in this repository has binary dependencies that live in the ForgeRock maven repository. Maven can be configured to authenticate to this repository by following the following ForgeRock Knowledge Base Article.
The sample code described herein is provided on an "as is" basis, without warranty of any kind, to the fullest extent permitted by law. ForgeRock does not warrant or guarantee the individual success developers may have in implementing the sample code on their development platforms or in production configurations.
ForgeRock does not warrant, guarantee or make any representations regarding the use, results of use, accuracy, timeliness or completeness of any data or information relating to the sample code. ForgeRock disclaims all warranties, expressed or implied, and in particular, disclaims all warranties of merchantability, and warranties related to the code, or any service or software related thereto.
ForgeRock shall not be liable for any direct, indirect or consequential damages or costs of any type arising out of any action taken by you or others related to the sample code.