SYSTEM 8Discuss a system ↗
← Field notes

System 8 field notes

Who can see this, actually?

A SharePoint sharing link can settle a job in thirty seconds and leave a question that lasts for years.

Workplace reflection with an illustrative scene

I spent years in support and presales, so I’ve heard both sides of the same request. On the way in, someone wants a place for the whole business to work together. On the way out, somebody on helpdesk is being asked to explain why an old contractor still has a link. In between, people had jobs to do.

“Can you just make it work for everyone? They’re waiting on the drawings.”

Picture a site owner with a supplier on the phone. The folder contains a drawing that’s ready to go and a workbook with figures that aren’t. The link dialogue offers a choice of audiences. She can see what she’s about to send. Can she see what access the recipient already has through the Team, a direct grant or a group somebody made two years ago? That’s the bit I want the software and the organisation to help her with.

“Get it done” is a perfectly understandable instruction at four in the afternoon. The trouble starts when the person giving it can’t say who should see the work, and the person doing it has to guess. By the time someone asks for governance, that guess is often an established business process with a budget of zero.

I’d start with the site owner and someone who uses the library every day. Pick an ordinary file, pick an awkward one, and work out who should be able to open each. Check a guest’s actual access. Give the owner a way to review links and a person to call when the rules don’t fit the job. That’s a useful afternoon. It also gives you something concrete to take upstairs when the same problem turns up across twenty sites.

I want people to be able to answer that first question for themselves. If you need a tenant admin to tell you who can read the thing you’re responsible for, there’s work left to do.

Open the technical notes
01

Name the tenant, authority and capture time

Record the tenant ID, verified domains, cloud, capture UTC, operator object ID and delegated scopes. Use a dedicated read-only assessment identity. Store command output in an access-controlled case folder and hash the raw exports before analysis.

For the two role queries below, use a work account with a supported directory role such as Security Reader and request the two read scopes shown. Record the consent separately for each additional inventory.

02

Resolve privileged role assignments to people and expiry

Query active assignments and eligibility separately. The same principal can appear in both lists. Keep the instance ID, principal, role, scope and validity period with each result. Resolve the principal using an authorised directory lookup. If the object has been deleted, record the unresolved ID.

Connect-MgGraph -Scopes 'RoleAssignmentSchedule.Read.Directory','RoleEligibilitySchedule.Read.Directory'
$fields = 'Id','PrincipalId','RoleDefinitionId','DirectoryScopeId','AppScopeId','MemberType','StartDateTime','EndDateTime'
$active = Get-MgRoleManagementDirectoryRoleAssignmentScheduleInstance -All -ErrorAction Stop
$eligible = Get-MgRoleManagementDirectoryRoleEligibilityScheduleInstance -All -ErrorAction Stop
$active | Select-Object -Property (@(@{Name='State';Expression={'Active'}}) + $fields)
$eligible | Select-Object -Property (@(@{Name='State';Expression={'Eligible'}}) + $fields)

If either call returns HTTP 403, check the delegated scope and the operator’s directory role before interpreting the output. To check enforcement, use an approved test account and a harmless restricted read in a test tenant. Record the operation and returned status.

03

Inspect application roles and credentials separately

For each production service principal, capture owners, app-role assignments, delegated grants, federated credentials, certificate expiry and sign-in activity. Distinguish an application registration from its tenant service principal. The object IDs and permissions answer different questions.

Flag tenant-wide roles such as Sites.ReadWrite.All where the written purpose names one site. Follow the Graph Selected-permission review and prove a 403 against an unrelated site after the broad role is removed and the token is renewed.

04

Measure SharePoint and guest exposure

Export site URL, site ID, owner, template, sensitivity label, sharing capability, lock state and last activity. Join that inventory to Entra B2B guests, access reviews, anonymous links and external-sharing audit operations. Sample sites containing high-classification records.

For SharePoint Online PowerShell, Get-SPOSite -Limit All provides the tenant site inventory. The resulting fields vary by module version; save Get-Module Microsoft.Online.SharePoint.PowerShell with the export. Use site-specific permission enumeration for the sample; the tenant row records the sharing capability while link and group membership live at lower scopes.

05

Inventory Power Platform production authority

Record environment ID, type, region, managed status, Dataverse URL, security group, DLP policy, environment admins, makers, production apps, flows, gateways, connection owners and solution state. Classify the default environment explicitly.

Join flows to connection references, connections and owners. An offboarding control should query flows and apps linked to the departing object ID before the account is blocked. The recovery test uses a non-production owner disablement and confirms that the backup operator can locate, run and restore the workload.

06

Separate protection, retention, records and movement

Capture sensitivity labels and publication state, retention policies and rules, record labels, DLP policies, eDiscovery or hold dependencies and their targeted locations. Join each control to the information class and owner that authorised it.

Run item-level tests. Apply the expected sensitivity label, verify external and unmanaged-device behaviour, confirm the independent retention result, then test disposal under the approved schedule. A label name supplies vocabulary; the audit and item state supply the result.

07

Turn findings into expiring exceptions

Each exception records resource ID, current value, required value, business reason, owner, approver, evidence link, review date and expiry. Use stable IDs so a rename updates the display name on the existing record.

The monthly meeting closes expired grants, stale guest sponsorship, abandoned connections and failed controls. Trend counts support prioritisation, but every material closure requires a new result from the affected system.

08

Prove that another operator can reproduce the baseline

A second administrator follows the runbook with the documented scopes, regenerates the inventories and explains every material difference. They repeat one positive and one prohibited test per high-risk control family. Record tool versions, UTC times, request IDs and redaction decisions.

This baseline covers the sampled controls and identities at the capture time. It cannot certify every workload or future Microsoft default. The review cadence and exception register keep that limitation visible.

Sources and further reading