web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Unanswered

AADSTS7000119 when setting up E-Document Connector SharePoint integration

(0) ShareShare
ReportReport
Posted on by
In a standard Microsoft Dynamics 365 Business Central Online environment (version 28.2) with the E-Document Connector – Microsoft 365 extension (version 28.2.50931.51529), the SharePoint service integration cannot be configured. Clicking "Set up service integration" on the E-Document Service card triggers an OAuth consent flow against the application "Business Central – Graph Integration" (Application ID 21ca0e34-f076-4570-9900-caaaefd1062b). The consent process fails with AADSTS7000119, and no service principal is created in the target tenant.
 
Reproducibility
The issue has been reproduced in two fully independent Business Central Online tenants:
  • Tenant A — cross-tenant configuration (BC and SharePoint in separate Microsoft 365 tenants)
  • Tenant B — single-tenant configuration (BC and SharePoint in the same Microsoft 365 tenant)  
Both tenants use standard Business Central without customizations related to this integration. Same error code, same client application ID, different tenant architectures. This rules out tenant-specific misconfiguration and cross-tenant setup as root causes.
 
Diagnostics performed
Standard consent flow via "Set up service integration" → AADSTS7000119: "Client application '...' is not allowed to be used by tenant '...'"
Manually constructed admin consent URL following the guidance in KB AADSTS650056, Solution 3AADSTS7000118: "Resource application '...' is not allowed to be used by tenant '...'"
No service principal for App ID 21ca0e34-f076-4570-9900-caaaefd1062b is created in either tenant — consistent with the consent flow being blocked before provisioning.
 
Working hypothesis
According to the Microsoft Entra error code reference and independent technical sources, AADSTS7000119 and AADSTS7000118 are the expected error codes when an app registration is configured with signInAudienceRestrictions.allowedTenantsAudience and the requesting tenant is not on the allowedTenantIds list.
Because the behavior is identical across two independent tenants, it appears the app registration 21ca0e34-f076-4570-9900-caaaefd1062b has such an allowlist configured on the Microsoft side, and regular BC customer tenants are not included.
 
Questions
  1. Is "Business Central – Graph Integration" (App ID 21ca0e34-f076-4570-9900-caaaefd1062b) a Microsoft first-party application used by the E-Document Connector – Microsoft 365?
  2. Does this app registration have a tenant allowlist (signInAudienceRestrictions.allowedTenantsAudience) that prevents provisioning in customer tenants? If so, what is the intended process for BC customers to enable the SharePoint service integration?
  3. Is the SharePoint service integration in E-Document Connector – Microsoft 365 (version 28.2.50931.51529) generally available, or is it a preview with limited rollout?
  4. Is this a known issue or regression in Business Central 28.2 or in this connector version?
  5. Is there a recommended workaround until a resolution is available?
 
Anyone else running into this? Would love to hear if this is reproducible in your environments as well.
  • Tenant A — cross-tenant configuration (BC and SharePoint in separate Microsoft 365 tenants)
  • Tenant B — single-tenant configuration (BC and SharePoint in the same Microsoft 365 tenant)
I have the same question (0)

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 673 Super User 2026 Season 1

#2
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 409 Most Valuable Professional

#3
YUN ZHU Profile Picture

YUN ZHU 375 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans