SPHttpClient in multi-geo #9779
Labels
Needs: Author Feedback
Awaiting response from the original poster of the issue. Marked as stale if no activity for 7 days.
Needs: Triage 🔍
Awaiting categorization and initial review.
sharepoint-developer-support
sharepoint-developer-support
type:bug-suspected
Suspected bug (not working as designed/expected). See “type:bug-confirmed” for confirmed bugs.
Target SharePoint environment
SharePoint Online
What SharePoint development model, framework, SDK or API is this about?
💥 SharePoint Framework
Developer environment
Windows
What browser(s) / client(s) have you tested
Additional environment details
Describe the bug / error
Using SPHttpClient in a multi-geo setting fails to get successfully retrieve"/_api/web/AllProperties" from site in TenantB on a site in Tenant A.
Steps to reproduce
This line in SPFx, running in webpart on site in TenantA
const response: SPHttpClientResponse = await spHttpClient.get(
${siteUrl}/_api/web/AllProperties
, SPHttpClient.configurations.v1);Executed with site url that is a site in TenantB
Expected behavior
Properties successfully retrieved irrespective on cross tenant execution
The text was updated successfully, but these errors were encountered: