Metadata-Version: 2.5
Name: trytond_maestro_exchange
Version: 8.0.0.1
Summary: Maestro Exchange and Office 365 provisioning module for Tryton
Author: Clemens Hupka
Maintainer-email: Clemens Hupka <clemens.hupka@tryton-erp.eu>
License-Expression: GPL-3.0-or-later
License-File: COPYRIGHT
License-File: LICENSE
Keywords: exchange,maestro,office365,provisioning,tryton
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Plugins
Classifier: Framework :: Tryton
Classifier: Topic :: Office/Business
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.10
Requires-Dist: trytond-maestro-users<8.1,>=8.0
Requires-Dist: trytond-maestro<8.1,>=8.0
Requires-Dist: trytond<8.1,>=8.0
Provides-Extra: test
Requires-Dist: proteus<8.1,>=8.0; extra == 'test'
Description-Content-Type: text/x-rst

Maestro Exchange
================

The ``maestro_exchange`` module extends the ``maestro`` base module
with the provisioning of the Exchange and Office 365 mail of the
accounts it administers.

It is the *exchange* feature of KoXo Administrator 3: an operator picks
the accounts (or the secondary groups holding them) in the AD tree, and
the mailbox of every account is created — as an on-premises Exchange
2003 to 2019 mailbox or as an Office 365 account —, the licence packs of
the Office 365 accounts are granted or removed, and the distribution
lists and Office 365 Unified Groups of the groups are created.

Every operation is a task: it is generated for the selected accounts,
the PowerShell script it is run with is stored on a line of the task,
and the operator (or the deployment agent) runs the script.  The module
never runs the scripts itself, the way every other Maestro module
defers its PowerShell execution.

Features
--------

* Exchange mailbox creation for an account, built for Exchange 2003 to
  2019 and for Office 365 / Exchange Online.
* Office 365 account creation, in bulk, for a selection of accounts.
* Office 365 licence pack management: a licence pack is added to, or
  removed from, the Office 365 account of every selected account.
* Office 365 password reset with the password options of the effective
  password policy of the account.
* Exchange distribution list and Office 365 Unified Group creation for
  the groups, with ``Set-UnifiedGroup`` support.
* PowerShell script templates per operation, with ``%VARIABLE%``
  expansion and the two Office 365 password variables
  ``%OFFICE365_STRONG_PASSWORD_REQUIRED%`` and
  ``%OFFICE365_PASSWORD_NEVER_EXPIRES%``.
* Base64 password encoding in the form the cmdlets read a password in.
* Delegated administration: a delegated administrator sees the tasks
  and the distribution lists of the primary groups assigned to it.

Configuration
-------------

The Office 365 tenant, the default Exchange version, the default
mailbox database, the default licence pack and the password options are
configured via the ``maestro.exchange.config`` singleton under
*Maestro → Configuration → Exchange Configuration*.

Dependencies
------------

* ``ir``
* ``res``
* ``maestro``
* ``maestro_users``

Models
------

* ``maestro.exchange.config`` — configuration singleton.
* ``maestro.exchange.license.pack`` — an Office 365 licence pack.
* ``maestro.exchange.template`` — a PowerShell script template.
* ``maestro.exchange.task`` — a bulk provisioning task and its state
  machine.
* ``maestro.exchange.task.line`` — the result of a task for one
  account.
* ``maestro.exchange.distribution.list`` — an Exchange distribution
  list or an Office 365 Unified Group.
* ``maestro.exchange.distribution.list.member`` — a member of a
  distribution list.
