Skip to content

Access Services

Ed Mozley edited this page Dec 3, 2026 · 2 revisions

Access services

New in 5.19.0 (stage 1 of the design). Requested on issue #505.

An access service is something people can have access to - "Access to the finance share", "SAP - read only", "Remote access" - with an owner, an optional deputy, and the group whose members have the access.

Approving a catalogue request for an item that gives a service adds the person who asked to its group: in Entra ID, or as a task for your team to do by hand. FreeITSM keeps the record of who has which access, since when and why, and compares it with the directory after every import.

Nothing changes on upgrade. No group is touched until a catalogue item gives a service, and FreeITSM never writes to Entra ID until an administrator turns on Directory writes for the connection.


Setting up a service

Forms -> Settings -> Access services -> New.

Field
Name, Description What people will recognise
Owner A person or a people group (anyone in the group counts), or Nobody yet. Owners need no service desk account - they decide on the portal
Deputy A person who stands in for the owner, as a cost centre's deputy does (any time, or only as cover - Forms -> Settings -> Approvals)
Groups The group(s) whose members have the access, and how each is changed
Give it without approval Off (default): access only ever follows an approval. On: a catalogue item that asks for no approval gives it as soon as somebody asks
Active Off retires the service: history kept, nobody can be given it, no longer compared with the directory

The owner, deputy and members must belong to the service's company. A service with nobody who could decide shows Needs an owner on the list. Only a service that never gave anybody access can be deleted.

How a group is changed

Entra ID FreeITSM adds and removes people itself through Microsoft Graph. Pick the group from those the Entra import brought in
By hand FreeITSM makes a task for a team - "Add Ana Silva to SG-Finance-Share" - and records the change when the task is marked done. Pick the imported group if there is one, so FreeITSM still follows its members, or say in words what people are added to

A service can have more than one group (an application and its VPN): a person is added to, and taken out of, every one. Switching a group from By hand to Entra ID later changes nothing for the people using the service. Active Directory and a workflow (for any other system) come in stage 2.

⚠️ Entra cannot change a group synced from on-premises Active Directory, nor one that can be assigned roles. The editor marks both; use By hand for them until stage 2.

Turning on Directory writes (administrators, once)

Changing membership needs the Graph application permission GroupMember.ReadWrite.All, which can change almost any group in the tenant - so it lives on a separate app registration used for nothing else. FreeITSM refuses the sign-in or import app's client id here.

  1. In the Microsoft Entra admin centre, create an app registration, add the application permission GroupMember.ReadWrite.All, press Grant admin consent, and add a client secret.
  2. System -> Authentication -> the Entra connection -> Directory writes.
  3. Tick Change group membership for access services, type the client id and secret, press Test connection (signs in and reads the app's permissions; changes nothing), then Save.

FreeITSM only ever changes groups chosen on an access service.

Giving access from a catalogue item

In the form designer, What happens next -> When approved -> Give access to: choose the service.

  • When a request for the item is approved, the person who asked is added to the service's groups, with the request on the record.
  • An item that asks for no approval gives the access at once only when the service has Give it without approval ticked (off by default) - for something anyone may have, like a free subscription. Otherwise access only ever follows an approval. If every approval step is skipped by its Only when, the request is approved at once and access is given.
  • The service is fixed on the request when it is made, like the price.
  • A failed add never undoes the approval - see When a change fails.

The access service's owner as an approver

In the item's approval steps, or a chain, Who decides -> The access service's owner. The owner (or anyone in the owner group) decides on the portal's Approvals page and the deputy stands in, exactly as for a cost centre's owner. Nobody decides their own request. "The manager says they need it, then the owner agrees" is two steps.

The Members window

The people icon on a service, or its Members count.

  • Who has it - since when, why (Request #1234, Added by ..., or Found in the directory), and the state: Has access, Being added, Being removed, Failed - not added / not removed.
  • Add gives somebody the access straight away, recorded as added by you. Remove asks why and takes them out of every group; the reason stays with your name.
  • Changes - every change FreeITSM made or tried to make, with what happened and, when Microsoft refused, its own reply. Retry tries a failed one again; Done records one as made another way (your name goes on it); Cancel drops a waiting or failed one, leaving the access as it was.
  • Who had it before - removed spells, kept for good: "who had the finance share in March?"

A By hand change waits on its task. Marking the task done finishes it; closing it any other way (Cancelled) makes it a failed change - never left waiting.

Compared with the directory

After every Entra import, each service that follows an imported group is compared with its members:

  • in the group, but FreeITSM did not add them -> Found in the directory (shown, never removed by FreeITSM);
  • FreeITSM recorded access, but they are no longer in the group -> Removed in the directory.

With two groups, a person has the service only when they are in both. The import's run history gives the counts.

When a change fails

Never silent. A failed change is:

  • a Failed row in the service's Changes, with the reason and the directory's own words;
  • a bell notification to everybody who manages access services and to the analyst who made the change (Preferences -> Notifications);
  • counted on Watchtower's Workflows card for 24 hours.

Fix the cause, then Retry.

Who can manage access services

Manage access services and who has them (System -> Roles, under Forms), or the Forms settings umbrella. Choosing a service in Give access to is part of designing a form.

Coming next

Stage 2: Active Directory and a workflow as ways to change a group. Stage 3: the portal's My access (see what you have, ask for it to be removed) and Services I own (owners see members, add and remove). Each service already stores who approves a removal (default: the owner), a keep at least number of members, and whether the owner's own changes need a second approval - the design has the details.

See also

FreeITSM

Getting Started

Modules

Multi-tenancy (planned)

Responses to feedback

Blue sky thinking

Bugs resolved

Pull requests

Links

Clone this wiki locally