Follow these steps to run the stand-alone connector server:
Download the connector server jar file and store it in the connector server directory (any directory).
Download the REST connector jar file and store it in the bundles subdirectory.
Start the connector server. For more information, check the page about this topic.
The following table describes all of the properties that you can specify for the configuration:
The authority base URL. It should be https://login.microsoftonline.com/common/ for a multitenant application (this is the URL for the Azure AD common endpoint, which enables users from any Azure AD tenant to sign in. For more information about the common endpoint, see this blog post.), or https://login.microsoftonline.com/ + [YOUR_TENANT_ID]
Azure Native Application ID; you can find it by selecting your Native App in Azure portal
Use username and new password in Azure connector configuration.
Any new User must have the Admin Role to manage Users and Groups;
Any new User must be owner of the Azure Native App you will create (see next step).
Integrate a new app with Azure Active Directory
Follow these steps to add a new application and be able to use the Azure AD capabilities.
Note: for our purpose it is important to create a Native app and give it some required permissions to manage AD Users and Groups. About the "Redirect URI" field, you can specify something like http://localhost; it is required but we will not use it.
The required authorization must be set for the following APIs:
so, after creating the application, you'll need to select it and add a new permission for that API in the Required permissions menu.
In the Required permissions menu, click on Microsoft Graph;
Choose Delegated Permissions and add these permissions:
Finally, back to Required permissions menu, click on the Grant Permissions button.
You'll need to create the file ./src/test/resources/net/tirasa/connid/bundles/azure/oauth2.properties, with the following structure:
In case you want to test license assignment you must add the following properties:
# To find available licenses use:
# https://graphexplorer.azurewebsites.net, login to your Azure account and execute:
# GET https://graph.windows.net/iwelcomeoffice365.onmicrosoft.com/subscribedSkus
# then find a "skuId" with "capabilityStatus": "Enabled"
every property must be filled with your Azure account related information.