Codeunit 7203 "CDS Environment"
Base Application · Microsoft.Integration.Dataverse
Across versions
- BC23present
- BC243 procedures added, 1 procedures removed
- BC254 procedures added, 3 procedures removed
- BC262 procedures added, 1 procedures removed
- BC27unchanged
- BC281 procedures removed
- BC29-30unchanged
Neighbourhood 7 connected objects and pages
Base Application · Microsoft.Integration.Dataverse · BC23-30 · source at 4e6a307c · facts from BC29
Properties
| Property | Value |
|---|---|
| Access | Internal |
Procedures
SelectTenantEnvironment(var CDSConnectionSetup: Record "CDS Connection Setup"; Token: SecretText; GuiAllowed: Boolean): Boolean+ BC25 − BC25GetGlobalDiscoverabilityOnBehalfTokenAsSecretText(): SecretText+ BC25GetGlobalDiscoverabilityToken(): SecretTextΔ BC25SetLinkedDataverseEnvironmentUrl(var CDSConnectionSetup: Record "CDS Connection Setup"; Token: SecretText)+ BC24 + BC25 − BC25 (internal)CheckIfEnvironmentInDifferentTenant(EnvironmentUrl: Text; Token: SecretText): Boolean+ BC26 (internal)
Plus 1 local procedures.
Triggers
OnRun
Calls
From the extracted call graph of BC29 (graphify-al on the snapshot checkout): calls whose target is known from a declared type or an Object::"Name" argument. Interface dispatch and calls through events are not counted, so the list is not complete.
- Codeunit 7201 “CDS Integration Impl.” (9 calls:
GetCDSEnvironmentCount → GetDataverseCloudEndpoints,GetGlobalDiscoverabilityOnBehalfTokenAsSecretText → GetDataverseCloudEndpoints,GetGlobalDiscoverabilityOnBehalfTokenAsSecretText → GetRedirectURL, …) - Codeunit 501 “OAuth2” (6 calls:
GetGlobalDiscoverabilityOnBehalfTokenAsSecretText → AcquireOnBehalfOfToken,GetGlobalDiscoverabilityToken → AcquireAuthorizationCodeTokenFromCache,GetGlobalDiscoverabilityToken → AcquireAuthorizationCodeTokenFromCacheWithCertificate, …) - Codeunit 457 “Environment Information” (2 calls:
GetCDSEnvironmentCount → GetLinkedPowerPlatformEnvironmentId,SetLinkedDataverseEnvironmentUrl → GetLinkedPowerPlatformEnvironmentId) - Codeunit 4100 “Temp Blob” (1 call:
GetCDSEnvironmentCount → CreateInStream) - Page 7207 “CDS Environments” (1 call:
SelectTenantEnvironment → (object))
Called by
- Page 7200 “CDS Connection Setup” (2 calls:
OnOpenPage → GetGlobalDiscoverabilityOnBehalfTokenAsSecretText,OnOpenPage → SetLinkedDataverseEnvironmentUrl) - Page 7201 “CDS Connection Setup Wizard” (1 call:
GetCDSEnvironment → SelectTenantEnvironment)
Recent changes
- 2026-07-09 #9127 Add Dataverse Cloud endpoints override for sovereign clouds (main, BC30, feature)
Possibly related
No source states these links: they share an object, a model read them, or a person found the same subject.
- Integrate with Microsoft Dataverse via data sync — possibly related: CDS Environment codeunit relates to Dataverse integration environment configuration and synchronization. (model-linked)
Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).
Ask your agent
Procedure bodies are not stored here (D10). The call sections above are our own, per object, from the BC29 call graph. For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: bcatlas_resolve_node(object_type: "codeunit", object_name: "CDS Environment"), then bcatlas_get_procedure_body or bcatlas_get_neighbors on the returned id.