====== Systems - office 365: Manage user licenses ====== This article is draft! ===== Introduction ===== This tutorial will show you how to connect office 365 in order to add or remove licenses to/from users. To achieve this you have two options. - Using AD groups to managing licenses - To be able to use AD groups you need to have the right subscription. Look to [[https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-licensing-whatis-azure-portal#licensing-requirements | documentation]] for more information. - Using WinRM + AD connector and powershell scripts to managing licenses {{ :tutorial:adm:ps_schema_o365.jpg | manage o365 through powerShell}} ===== Before you start ===== Read the [[https://blog.bcvsolutions.eu/jak-automatizovat-pridelovani-licenci-v-microsoft-office-365/ | highlight for managers in our blog]]. ===== Setup WinRM + AD connector ===== Please follow these tutorials how to setup remote connector server and connector: * [[devel:documentation:adm:systems:connectors:remote_server|Remote Connector server]] * [[devel:documentation:adm:systems:winrm_ad_connector|WinRM + AD Connector]] ===== adding an office 365 license to user ===== Návod jak to udělat * předpokládáme napojené AD? pokud ano nějaký odkaz na návod * konfigurace role * jaké scripty použít * jak funguje replikace na azure a jak pomůže retry mechanizmus?