On the Tachyon server where the Office 365 connector will be executed, PowerShell needs to connect to Azure via MSOL, which requires the following two modules to be installed:
Install-Module -Name AzureAD Install-Module -Name MsOnline
If the following warnings are shown when installing a module, you will need to run the below command first.
WARNING: Unable to download from URI 'https://go.microsoft.com/fwlink/?LinkID=627338&clcid=0x409' to ''.
In your Azure Active Directory console, go to the Enterprise applications node and click New application.
You need to create a non-gallery application, in the version of AAD we're using this is done by clicking the Create your own application button.
Provide a name for the application. The name of application is not significant however it should be such that it suggests that the application is related to the Office 365 connector, for example: Tachyon O365 Connector. In this version of AAD we ensure that the Integrate any other application you don't find in the gallery (Non-gallery) option is selected and then click Create in the bottom left of the panel.
In the Overview tab for the new application, copy the Application ID value as this will be required for the connector.
Navigate back to the AAD blade then click the App registrations node of AAD.
|You may need to change the tab to All Applications to see the new application.|
Click on the application name for the new application.
Click on the API permissions node under the Manage section, then click Add a permission .
Click on the Microsoft Graph tile and then click on Application permissions.
A long list of API permissions will be shown, scroll through them and check as appropriate using the following table.
When the correct permissions have been selected, click Add permissions .
After they've been added the permissions should like the picture shown opposite.
Click Grant admin consent for <organization>, where <organization> is the Organization you set when your InTune instance was created. This means that as an administrator for your organization, you're consenting that the users of the application can use these permissions. Click Yes to confirm.
Click on the Certificates & secrets node and then click on New client secret button
The Add a client secret form will open, add a description and select an expiry from the Expires radio buttons and then click Add.
Copy the new client secret value and save it as you won't be able to retrieve it after you perform another operation or leave this blade.
These instructions show how to create an Office 365 connector in the Tachyon Settings application.
These are the steps to add, test and run an Office 365 connector
In the Tachyon portal, navigate to Settings→Configuration→Connectors.
Click on the Add button.
In Connector name, enter a logical name for this connector. In our example we choose the name Microsoft Office 365 Inventory .
Azure Cloud Instance can be set to the URL for your InTune implementation. If you leave this field blank AzurePublic is used as a default.
Client Secret this should be set to the specific client secret value that has been created for your chosen Enterprise Application
The new connector has now been added and a new action that can be used to run the connector has been created in the background, called Sync Data - Microsoft Office 365 Inventory.