# Deploy and use

Product: Identity Universe
Source: https://docs.fortytwo.io/identity-universe/licensing/deployuse/

## Before you start

::::steps

### Consent to Fortytwo Universe - Licensing - Read

Licensing reads users, licenses, sign-ins, usage reports, applications and group memberships from your tenant through its own application. A Global Administrator or Privileged Role Administrator consents to it:

[Fortytwo Universe - Licensing - Read](https://login.microsoftonline.com/common/adminconsent?client_id=6511886a-300a-466b-8c7b-09539178e242)

| Microsoft Graph application permission | Used for |
| - | - |
| `User.Read.All` | Users, their account state and their last sign-in |
| `LicenseAssignment.Read.All` | The licenses each user holds and how they were given |
| `Organization.Read.All` | The subscriptions the tenant has |
| `AuditLog.Read.All` | Sign-ins to the applications you track |
| `Reports.Read.All` | Microsoft 365 usage reports |
| `ReportSettings.Read.All` | Whether usage reports hide user names |
| `Application.Read.All` | Enterprise applications, their assignments, and whether the consents are in place |
| `GroupMember.Read.All` | The groups that give a license |
| `MailboxSettings.Read` | Shared, room and equipment mailboxes, which are never warned |

### Consent to Fortytwo Universe - Licensing - Reclaim

Only needed if licenses are to be removed. Removing a license is done by a second application, so a tenant that only reports and warns never grants write access. Consent to it before you turn on **Allow reclaiming licenses** under **Settings**:

[Fortytwo Universe - Licensing - Reclaim](https://login.microsoftonline.com/common/adminconsent?client_id=c928b742-23ab-4c3b-8a5d-65abc8a7529d)

| Microsoft Graph application permission | Used for |
| - | - |
| `LicenseAssignment.ReadWrite.All` | Removing and putting back a direct license |
| `GroupMember.ReadWrite.All` | Removing and putting back the group membership that gave a license |

### Assign the roles

Give administrators **Licensing - administrator** or **Licensing - reader** on the **Fortytwo Universe** enterprise application, as described in [Permissions](https://docs.fortytwo.io/identity-universe/get-started/permissions/).

### Check Entra ID P1 and usage reports

Sign-in evidence needs Entra ID P1 in your tenant. Microsoft 365 usage reports hide user names by default: turn off **Display concealed user, group, and site names in all reports** in the Microsoft 365 admin center under **Settings → Org settings → Reports**, or nobody counts as using Exchange, OneDrive, SharePoint, Teams, Viva Engage or Copilot.

::::

A collector that is missing a consent or a permission is shown as **Refused** under [Runs](https://docs.fortytwo.io/identity-universe/licensing/plandesign/#runs), with what an Entra ID administrator has to consent to.

## Words used here

- **Product**: anything that can be held. A **Microsoft subscription** (read from Entra ID), an **enterprise application** you track, or an **external product** you upload a seat list for.
- **Holder**: a person who holds a product, directly or through a group.
- **Evidence of use**: what counts as using a product. Activity in a Microsoft 365 workload, a sign-in to an application, any sign-in, or the last activity in a seat list. A holder with none of it within the period is **idle**.
- **Policy**: finds idle holders of one product, and reports them, warns them, or removes the license.
- **Warning**: what a policy gives an idle holder. A case here and a notice at the top of the holder's **My licenses**. Licensing sends no message itself; [Cases](https://docs.fortytwo.io/identity-universe/licensing/plandesign/#cases) says how a warning reaches a mailbox or Teams.
- **Case**: one warning a policy gave one person, and what became of it.

## Getting started

::::steps

### Turn on collection

Turn on **Collect from Entra ID** under **Settings**. Microsoft subscriptions appear after the first directory collection.

### Price the products

Give each product a price (**Products → Import prices**, or on the product), so the overview can say what idle licenses cost.

### Choose what to follow

Track the enterprise applications and add the external products you want to follow.

### Preview a report policy

Create a policy from the built-in **Report idle licenses** template, and look at its **Preview** before anyone is warned.

### Decide how warnings reach people

Licensing sends no message itself: someone with a Workflows role creates a [workflow](https://docs.fortytwo.io/identity-universe/events/) under **Administration → Workflows** that runs on the Licensing event **License holder warned** and sends an [email](https://docs.fortytwo.io/identity-universe/events/actions/email/), a [Teams message](https://docs.fortytwo.io/identity-universe/events/actions/teams/) or calls a [webhook](https://docs.fortytwo.io/identity-universe/events/actions/webhook/). Without one, a warning shows only on the holder's **My licenses**.

### Warn, then reclaim

When the preview looks right, move the policy to **Notify**, and to **Reclaim** once you trust it.
::::

## What people see

People see their own licenses under **Self-service → My licenses**, and on their profile, once **Show My licenses to users** is turned on under **Settings**. The setting is off by default. While it is off, a person sees only a license that is about to be removed from them, so they can still press **Keep**. See [My licenses](https://docs.fortytwo.io/identity-universe/licensing/my-licenses/).
