Repository navigation
Conversation
This was referenced Dec 5, 2026
odgrim
force-pushed
the
track-a/azure-tenant-domains
branch
from
December 6, 2026 07:03
9d02a6b to
07a8bfb
Compare
odgrim
force-pushed
the
track-a/azure-tenant-domains
branch
from
December 6, 2026 07:48
07a8bfb to
06fe37d
Compare
A reach id or signInTo id may be a domain such as contoso.onmicrosoft.com, as a tenant pin already may. az resolves it: reach asks for a token with --tenant <domain>, and signInTo signs in with it. A reached domain is named by the tenant its token is for. Text that is neither a GUID nor a domain stays unknown in reach and invalidParams in signInTo.
odgrim
force-pushed
the
track-a/azure-tenant-domains
branch
from
December 6, 2026 16:03
14ed055 to
6de5b70
Compare
odgrim
marked this pull request as ready for review
December 6, 2026 16:14
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Change
A block's tenant written as a domain works in
reachandsignInTo, as Runbooks main accepted "tenant ID or domain". Before this,reachansweredunknown"ids[n] is not a tenant id", andsignInTorefused the domain withinvalidParams, so the row's "Sign in to" always failed.reachasks az for a token with--tenant <domain>, as a domain pin already did. The answer is classified as for an ID. A reached domain is named by the tenant its token is for.signInTosigns in withaz login --tenant <domain>.unknowninreach, now "ids[n] is neither a tenant id nor a domain", andinvalidParamsinsignInTo.Decisions
reachanswers with the id as asked, the domain, not the tenant id it resolved to. Runbooks matches a reached id to its row exactly.name. Without a token there is no tenant id to name it by, and the domain itself reads well as the row's label.Gaps
reach_idshas no 256-character check of its own: aReachIdcan't exceed it.signInTo's id beforeaz login --tenant; and the trailing-hyphen check.noAccesswith real az (AADSTS90002); the fake answersunknown. Not run against real az.xn--form.Evidence
reach_and_sign_in_to_take_a_tenant_domainfailed before the change:left: [String("fabrikam.onmicrosoft.com"), Null, String("unknown")] right: [String("fabrikam.onmicrosoft.com"), Null, String("needsMfa")].181 passed, 1 failed).reach_answers_each_id_as_askedandsign_in_to_refuses_what_it_cannot_sign_in_topinned the old refusal of a domain. They now use "not a tenant".mise run checkat 06fe37d:504 tests run: 504 passed, 0 skipped, lint clean, semverno publishable crates.Audit dependenciesis red, as on main, until the pin-project-lite 0.2.19 lock update.git patch-id --stable(9f257bcab07e) and the same changed lines, tree unchanged.