Repository navigation
Description
The full demo-tenant smoke test fails because its Microsoft Graph connection is missing required application permissions. @merill, please update the dedicated smoke-test app registration/service principal in your demo tenant and grant tenant-wide admin consent.
Required identity update
- Add and admin-consent Microsoft Graph Application permission
AccessReview.Read.All. - Add and admin-consent Microsoft Graph Application permission
NetworkAccess.Read.All.
Use the identity configured by MAESTER_SMOKE_CLIENT_ID in the maester-smoke-test GitHub environment (documented as DO NOT DELETE - Maester GitHub Action Smoke Test). Both permissions are included in the current default Get-MtGraphScope output.
Failure evidence
Source run: https://github.com/maester365/maester/actions/runs/40307031293
Windows job: https://github.com/maester365/maester/actions/runs/40307031293/job/121518598250
Windows, Linux, and macOS all authenticate successfully through OIDC and complete the Maester action, then fail Verify Maester executed successfully with:
Maester did not complete normally (unexpected results=2, errors=2).
Unexpected: [CIS.M365.5.3.2=Error, CIS.M365.5.3.3=Error].
The logs explicitly identify missing AccessReview.Read.All and NetworkAccess.Read.All. The two access-review tests receive 403 Forbidden from identityGovernance/accessReviews/definitions; AccessReview.Read.All is the least-privileged application permission for that endpoint: https://learn.microsoft.com/en-us/graph/api/accessreviewset-list-definitions?view=graph-rest-1.0#permissions
NetworkAccess.Read.All is also missing, although it did not cause either of these two errors.
This failure predates PR #2539: the October 25 run has the identical warning and errors: https://github.com/maester365/maester/actions/runs/40232816988/job/121287999911. PR #2413 introduced the access-review checks and added AccessReview.Read.All to the default scopes.
Validation and documentation
- Rerun the full smoke test after consent so each job obtains a fresh token. Confirm that the missing-permission warning is cleared and both access-review checks complete without authorization errors on all three operating systems.
- Update
.github/workflows/maester-action-smoke-test.mdto include both permissions in its application-permission setup list.
Keep the existing verification gate: ordinary security-posture Failed results are allowed, while execution Error results should continue to fail CI.
Activity
earbona23 commentedon Nov 5, 2026
There is a third permission missing from the same identity, and it will fail the same way once the two above are consented.
Comparing the setup list in
.github/workflows/maester-action-smoke-test.mdset-wise against the actual output ofGet-MtGraphScope(27 scopes returned, 24 documented, nothing documented that is not a default):website/docs/sections/permissions.mdalready lists all three, so only the workflow setup list had drifted. SinceCompare-MtGraphScopereports every missing scope at once,DeviceManagementApps.Read.Allwould show up in the same warning if it is also unconsented on the smoke-test app registration, so it is worth granting in the same pass rather than discovering it on the next run.#2686 fixes the documented list and adds a unit test that compares it against
Get-MtGraphScopein both directions, so it cannot drift again silently. The test names the missing scopes and the file to edit in its failure message.The consent itself still needs @merill, as you say. Nothing in the PR changes the tenant.
SamErde commentedon Nov 8, 2026
Additional investigation and current confirmation (2026-11-08):
AccessReview.Read.All,DeviceManagementApps.Read.All, andNetworkAccess.Read.All. Both access-review checks again return403 Forbidden, followed byunexpected results=2, errors=2(CIS.M365.5.3.2andCIS.M365.5.3.3). This is the existing tenant-permission issue, not a new failure introduced by fix: Get-MtSafeMarkdown now escapes GFM autolink literals #2715.CISA.MS.EXO.9.1execution error and does not report missingAccessReview.Read.All. feat(cis): add 14 Entra authentication, PIM and access review checks for CIS M365 v7.0.0 #2413 introduced the access-review checks/default scope and merged October 20. The timing points to their arrival in the published preview exposing the unconsented permission: the morning smoke run installed its preview before the concurrent 3.0.0-rc01 publication finished at 07:21 UTC; the midday smoke run then exercised the newer checks.@merill, the remaining tenant-side action is to grant/admin-consent all three Graph Application permissions on the smoke-test identity, including
DeviceManagementApps.Read.Allnoted in the previous comment. Then rerun the full workflow for fresh tokens and confirm the warning clears and the access-review checks no longer error. Please retain the existing execution-error gate.merill commentedon Nov 9, 2026
Fixed now. The smoke-test identity has been granted and admin-consented
AccessReview.Read.All,NetworkAccess.Read.AllandDeviceManagementApps.Read.All.