This article consists of the instructions on how to correctly setup the HENNGE Email DLP UI between your HENNGE One domain environment and your Microsoft 365 domain. Please note that this setup is specifically for users that are subscribing to our HENNGE Email DLP but not HENNGE Access Control.
Before beginning the setup, you have to ensure that your machine is meeting the setup's prerequisites.
Prerequisites of setting up PowerShell
(i) A Windows machine that is installed with:
1) PowerShell ver. 3.0 or above.
2) Azure Active Directory Module for Windows PowerShell
- Azure Active Directory Module for Windows PowerShell (64-bit version)
3) Microsoft Online Services Sign-In Assistant for IT Professionals
- Microsoft Online Services Sign-In Assistant for IT Professionals RTW
After assuring that your Windows machine is installed with the requirements above, you may now proceed to the actual setup.
(1) Connecting to Microsoft 365
1.1) Log in with your Administrator Account
First, run the Windows Azure Active Directory Module for Windows PowerShell that you have installed as an administrator.
1.1.1) Run the command below:
1.1.2) After entering the command, a login dialog will popup for you to input the login User name (email@example.com) and password of the administrator account that you choose to use.
1.2) Getting your Domain Information
After you have successfully logged in, to check the status of your domain environment with the command below:
After executing the command, you will be able to see the information of two domain names:
- Your Access Control Domain
- Your Microsoft 365 Domain
If both of the domains have "Verified" for "Status" column and "Managed" for "Authentication" column, it means that you are ready for the next step.
(2) Executing Commands
Run the PowerShell application on your Windows machine and execute the commands below:
Complete sample commands:
(Replace "yourdomain" to Your domain address) :
$uri = "https://mo.yourdomain.hdemail.jp/simplesaml/module.php/saml/sp/metadata.php/saml"
$replyUrl = "https://mo.yourdomain.hdemail.jp/simplesaml/module.php/saml/sp/saml2-acs.php/saml"
$reply = New-MsolServicePrincipalAddresses -Address $replyUrl -AddressType Reply
New-MsolServicePrincipal -DisplayName yourdomain-mo -ServicePrincipalNames $uri -Addresses $reply
After executing these commands, your HENNGE Email DLP UI is now successfully connected to your Microsoft 365 environment.
Please proceed to do next step: Setting Up HENNGE Email DLP (Microsoft 365)