We have a requirement to convert one of the existing provider hosted app functionality to spfx webpart.

The provider hosted app implemented using App only calls to access other site collection in the tenant.

Now I want to know is there any way in SPFx webpart to access other site collections?

Any suggestions or reference links are appreciated.

1 Answer 1


I haven't done it, but it is possible. You need to use SPHttpClientConfigurations instead of SPHttpClient. There is an example of using it in this answer to another question: SPFx R.C. post method, SPHttpClient.configurations.v1 undefined exception

Ref: Adding Items to a list in another sitecollection :- SharePoint Framework (SPFx) Webpart

  • BTW, both ot the references I provided say use SPHttpClientConfigurations instead of SPHttpClient, so I said it too. But looking at the example, it's more accurate to say in conjunction with.
    – Joe McShea
    Feb 21, 2019 at 13:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.