Skip to content

Tools4everBV/HelloID-Conn-SA-Sync-Exchange-Online-DistributionGroup-To-SelfService-Products

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ℹ️ Information
This repository contains the connector and configuration code only. The implementer is responsible to acquire the connection details such as username, password, certificate, etc. You might even need to sign a contract or agreement with the supplier before implementing this connector. Please contact the client's application manager to coordinate the connector requirements.

Versioning

Version Description Date
1.0.0 Added support to add Distribution Group owner(s) to HelloID Resource Owner Group 2022/06/23
1.0.0 Initial release 2022/06/20

Table of Contents

Introduction

By using this connector, you will have the ability to create HelloId SelfService Products based on Exchange Online Distribution Groups. It manages only the products of the target system. The existing and manually created products are unmanaged and excluded from the sync.

The created Self-service Products are intended to manage the permissions of the Exchange Distribution Groups. For each Distribution Group, there will be one or more self-service products created. Depending on the number of permission types you specify. The name of the products will be Distribution Group name. Example : "Accounting Department" Optionally, you can include an Email action. Optionally, you can configurate this script to add Distribution Group owner(s) to HelloID Resource Owner Group. These owner(s) of the Distribution Group can be either users or groups. Both are supported to be added to the HelloID Resource Owner Group, but they have to exist in HelloID

Getting started

Prerequisites

  • Make sure you have Windows PowerShell 5.1 installed on the server where the HelloID agent and Service Automation agent are running.

    The connector is compatible with older versions of Windows PowerShell. Although we cannot guarantuee the compatibility.

  • Installed and available Microsoft Exchange Online PowerShell V2 module
  • To manage users, mailboxes and groups, the service account has to have the role "Exchange Administrator" assigned.
  • Required to run On-Premises since it is not allowed to import a module with the Cloud Agent.
  • Define the Global variables for your Exchange Environment

Connection settings

The connection settings are defined in the automation variables user defined variables. And the Product configuration can be configured in the script

Variable name Description Notes
$portalBaseUrl HelloID Base Url (Default Global Variable)
$portalApiKey HelloID Api Key (Default Global Variable)
$portalApiSecret HelloID Api Secret (Default Global Variable)
$ExchangeAdminUsername Exchange BaseUrl/Powershell Define as Global Varaible
$ExchangeAdminPassword Exchange Admin Username Define as Global Varaible
$Filter Filter for Exchange Distribution Groups Optional, when no filter is provided, all Distribution Groups will be queried
$ProductAccessGroup HelloID Product Access Group If not found, the product is created without an Access Group
$ProductCategory HelloID Product Category If the category is not found, it will be created
$SAProductResourceOwner HelloID Product Resource Owner Group If left empty the groupname will be: "Resource owners [target-systeem] - [Product_Naam]")
$SAProductWorkflow HelloID Product Approval workflow If empty. The Default HelloID Workflow is used. If specified Workflow does not exist the Product creation will raise an error.
$FaIcon HelloID Product fa-icon name
$removeProduct HelloID Remove Product instead of Disable
$overwriteExistingProduct Boolean, set to 'True' to overwrite the Product settings If True existing product will be overwritten with the input from this script (e.g. the approval worklow or icon). Only use this when you actually changed the product input
$overwriteExistingProductAction Boolean, set to 'True' to overwrite the PowerShell action(s) If True existing product actions will be overwritten with the input from this script. Only use this when you actually changed the script or variables for the action(s)
$productVisibility HelloID Product Visibility "ALL"
$uniqueProperty Target Groups Unique Key The vaule will be used as CombinedUniqueId
$SKUPrefix HelloID SKU prefix (Max. 4 characters) The prefix will be used as CombinedUniqueId
$TargetSystemName HelloID Prefix of product description
$includeEmailAction Boolean, set to 'True' to include the Email action(s)
$defaultFromAddress The default sender address for the Email action(s)
$defaultToAddress The default receiving address for the Email action(s)

Remarks

  • The Products are created and disable/deleted and, when configured, updated.

    The Update take will place for the configured Product settings and PowerShell Actions, but not for the Email actions (since there is no update API for Email actions).

  • When the RemoveProduct switch is adjusted to remove the products. The products will be delete from HelloID instead of Disable. This will remove also the previous disabled products (by the sync).
  • When the overwriteExistingProduct switch is adjusted to overwrite the existing products, this will be performed for all products created from this sync. This will update also the previous disabled products (by the sync).
  • When the overwriteExistingProductAction switch is adjusted to overwrite the existing product actions, this will be performed for all products created from this sync. This will update also the previous disabled products (by the sync).

    The Update will only take place for PowerShell actions. This will not take place for the Email actions (since there is no update API for Email actions).

  • The managers of the Distribution Groups are not added in the "Resource Owner Group" of the products
  • The Unique identifier (CombineduniqueId / SKU) is builded as follows: $SKUPrefix + GUID of the Distribution Groups without dashes + Abbreviation of the permission Type

Getting help

For more information on how to configure a HelloID PowerShell scheduled task, please refer to our documentation pages

If you need help, feel free to ask questions on our forum

HelloID Docs

The official HelloID documentation can be found at: https://docs.helloid.com/

About

Synchronize Exchange Online Distribution Groups to HelloID Self service Products

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published