Import license assignments from Microsoft 365
Alvao supports the periodic import of license assignments from Microsoft 365 (M365). The import is done via custom application.
Installation
-
Download the ImportM365Licenses.zip file and extract it.
-
Go to Administration - Applications and import file ImportM365Licenses.xml.
-
Go to Azure Portal and open Microsoft Entra ID for your tenant.
- Create new app registration
- Create new client secret and store it on safe place for later use
- Add following application permissions for Microsoft Graph:
- Organization.Read.All
- User.Read.All
-
Go to Administration - Settings – Advanced and configure following parameters according to values in app registration.
Name Default value Description ImportM365Licenses.AtHours 2 Comma-separated list of hours when to execute import. ImportM365Licenses.ClientId Application Client Id from the app registration in MS Entra ID ImportM365Licenses.ClientSecret Application Client secret ImportM365Licenses.TenantId Tenant Id -
Go to Administration - Applications and enable the application.