Document tenant-specific IAS host injection in RequestContext#2474
Open
StefanHenke wants to merge 1 commit intomainfrom
Open
Document tenant-specific IAS host injection in RequestContext#2474StefanHenke wants to merge 1 commit intomainfrom
StefanHenke wants to merge 1 commit intomainfrom
Conversation
Added instructions for injecting tenant-specific IAS host in background threads.
BraunMatthias
approved these changes
Mar 30, 2026
| Instead, prefer a task-based approach which processes specific subscriber tenants selectively. | ||
| ::: | ||
|
|
||
| When creating a new RequestContext in a background thread (without propagating an existing request), you must manually inject the tenant-specific IAS host to use IAS-based Remote Services. Unlike inherited request contexts that automatically carry authentication details, a fresh asynchronous request lacks the IAS host information required for remote service calls. The host can be retrieved from a `TenantInfo` object provided for example by the `TenantProviderService`. |
Contributor
There was a problem hiding this comment.
I assume "background thread" and "background executions" (from previous paragraph) mean the same thing.
If that is correct, I assume the difference between those two paragraphs is the target: persistence vs. remote service. Is that correct?
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.
Added instructions for injecting tenant-specific IAS host in background threads.